Pick the namespace alias 'i' from v8.h.

These files already include v8.h so they don't need to define the
namespace alias again.
Signed-off-by: 's avatarThiago Farina <tfarina@chromium.org>

Review URL: http://codereview.chromium.org/7640012

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8919 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 808748b4
......@@ -39,10 +39,6 @@
namespace v8 {
#ifndef V8_SHARED
namespace i = v8::internal;
#endif // V8_SHARED
#ifndef V8_SHARED
// A single counter in a counter collection.
......
......@@ -40,8 +40,6 @@
#include "serialize.h"
#include "list.h"
// use explicit namespace to avoid clashing with types in namespace v8
namespace i = v8::internal;
using namespace v8;
static const unsigned int kMaxCounters = 256;
......
......@@ -56,8 +56,6 @@ namespace preparser {
// That means that contextual checks (like a label being declared where
// it is used) are generally omitted.
namespace i = ::v8::internal;
void PreParser::ReportUnexpectedToken(i::Token::Value token) {
// We don't report stack overflows here, to avoid increasing the
// stack depth even further. Instead we report it after parsing is
......
......@@ -44,8 +44,6 @@ using ::v8::Function;
using ::v8::AccessorInfo;
using ::v8::Extension;
namespace i = ::v8::internal;
static v8::Handle<Value> handle_property(Local<String> name,
const AccessorInfo&) {
ApiTestFuzzer::Fuzz();
......
......@@ -6,8 +6,6 @@
#include "circular-queue-inl.h"
#include "cctest.h"
namespace i = v8::internal;
using i::SamplingCircularQueue;
......
......@@ -7,8 +7,6 @@
#include "cctest.h"
#include "../include/v8-profiler.h"
namespace i = v8::internal;
using i::CodeEntry;
using i::CpuProfile;
using i::CpuProfiler;
......
......@@ -10,8 +10,6 @@
#include "utils-inl.h"
#include "../include/v8-profiler.h"
namespace i = v8::internal;
namespace {
class NamedEntriesDetector {
......
......@@ -54,8 +54,6 @@ using v8::internal::JSFunction;
using v8::internal::StackTracer;
using v8::internal::TickSample;
namespace i = v8::internal;
static v8::Persistent<v8::Context> env;
......
......@@ -23,8 +23,6 @@ using v8::internal::EmbeddedVector;
using v8::internal::Logger;
using v8::internal::StrLength;
namespace i = v8::internal;
namespace {
class ScopedLoggerInitializer {
......
......@@ -40,8 +40,6 @@
#include "preparser.h"
#include "cctest.h"
namespace i = ::v8::internal;
TEST(ScanKeywords) {
struct KeywordToken {
const char* keyword;
......
......@@ -7,8 +7,6 @@
#include "cctest.h"
#include "../include/v8-profiler.h"
namespace i = v8::internal;
using i::CodeEntry;
using i::CodeMap;
using i::CpuProfile;
......
......@@ -6,8 +6,6 @@
#include "unbound-queue-inl.h"
#include "cctest.h"
namespace i = v8::internal;
using i::UnboundQueue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment