[presubmit] Enable readability/namespace linter checking.

This enables linter checking for "readability/namespace" violations
during presubmit and instead marks the few known exceptions that we
allow explicitly.

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/1371083003

Cr-Commit-Position: refs/heads/master@{#31019}
This commit is contained in:
mstarzinger 2015-09-30 06:46:56 -07:00 committed by Commit bot
parent 4988e42ef7
commit 6a769ac1df
408 changed files with 832 additions and 506 deletions

View File

@ -146,7 +146,7 @@ template<typename T> class CustomArguments;
class PropertyCallbackArguments;
class FunctionCallbackArguments;
class GlobalHandles;
}
} // namespace internal
/**

View File

@ -106,6 +106,7 @@ class Accessors : public AllStatic {
Handle<ExecutableAccessorInfo> accessor);
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ACCESSORS_H_

View File

@ -95,6 +95,7 @@ class AllocationSiteUsageContext : public AllocationSiteContext {
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ALLOCATION_SITE_SCOPES_H_

View File

@ -88,6 +88,7 @@ class FreeStoreAllocationPolicy {
void* AlignedAlloc(size_t size, size_t alignment);
void AlignedFree(void *ptr);
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ALLOCATION_H_

View File

@ -642,6 +642,7 @@ class Testing {
static v8::Testing::StressType stress_type_;
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_API_H_

View File

@ -283,6 +283,7 @@ static Type __RT_impl_##Name(Arguments args, Isolate* isolate)
#define RUNTIME_FUNCTION_RETURN_PAIR(Name) \
RUNTIME_FUNCTION_RETURNS_TYPE(ObjectPair, Name)
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARGUMENTS_H_

View File

@ -666,6 +666,7 @@ void Assembler::set_target_address_at(Address pc, Address constant_pool,
}
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM_ASSEMBLER_ARM_INL_H_

View File

@ -1667,6 +1667,7 @@ class EnsureSpace BASE_EMBEDDED {
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM_ASSEMBLER_ARM_H_

View File

@ -311,6 +311,7 @@ class NameDictionaryLookupStub: public PlatformCodeStub {
DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub);
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM_CODE_STUBS_ARM_H_

View File

@ -44,6 +44,7 @@ class MathExpGenerator : public AllStatic {
DISALLOW_COPY_AND_ASSIGN(MathExpGenerator);
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM_CODEGEN_ARM_H_

View File

@ -702,6 +702,7 @@ class VFPRegisters {
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM_CONSTANTS_ARM_H_

View File

@ -128,6 +128,7 @@ class JavaScriptFrameConstants : public AllStatic {
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM_FRAMES_ARM_H_

View File

@ -20,7 +20,7 @@ class PlatformInterfaceDescriptor {
private:
TargetAddressStorageMode storage_mode_;
};
}
} // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM_INTERFACE_DESCRIPTORS_ARM_H_

View File

@ -2885,6 +2885,7 @@ class LChunkBuilder final : public LChunkBuilderBase {
#undef DECLARE_HYDROGEN_ACCESSOR
#undef DECLARE_CONCRETE_INSTRUCTION
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM_LITHIUM_ARM_H_

View File

@ -393,6 +393,7 @@ class LDeferredCode : public ZoneObject {
int instruction_index_;
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_

View File

@ -57,6 +57,7 @@ class LGapResolver final BASE_EMBEDDED {
bool need_to_restore_root_;
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM_LITHIUM_GAP_RESOLVER_ARM_H_

View File

@ -1564,6 +1564,7 @@ inline MemOperand GlobalObjectOperand() {
#endif
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_

View File

@ -55,7 +55,8 @@ class SimulatorStack : public v8::internal::AllStatic {
static inline void UnregisterCTryCatch() { }
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#else // !defined(USE_SIMULATOR)
// Running with a simulator.
@ -459,7 +460,8 @@ class SimulatorStack : public v8::internal::AllStatic {
}
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // !defined(USE_SIMULATOR)
#endif // V8_ARM_SIMULATOR_ARM_H_

View File

@ -1259,6 +1259,7 @@ void Assembler::ClearRecordedAstId() {
}
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_ASSEMBLER_ARM64_INL_H_

View File

@ -2296,6 +2296,7 @@ class EnsureSpace BASE_EMBEDDED {
}
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_ASSEMBLER_ARM64_H_

View File

@ -384,6 +384,7 @@ class NameDictionaryLookupStub: public PlatformCodeStub {
DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub);
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_CODE_STUBS_ARM64_H_

View File

@ -43,6 +43,7 @@ class MathExpGenerator : public AllStatic {
DISALLOW_COPY_AND_ASSIGN(MathExpGenerator);
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_CODEGEN_ARM64_H_

View File

@ -1237,6 +1237,7 @@ enum UnallocatedOp {
UnallocatedFMask = 0x00000000
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_CONSTANTS_ARM64_H_

View File

@ -644,6 +644,7 @@ void Decoder<V>::DecodeAdvSIMDDataProcessing(Instruction* instr) {
}
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_DECODER_ARM64_INL_H_

View File

@ -181,6 +181,7 @@ class Decoder : public V {
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_DECODER_ARM64_H_

View File

@ -50,6 +50,7 @@ void DelayedMasm::LoadObject(Register result, Handle<Object> object) {
#undef __
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_DELAYED_MASM_ARM64_INL_H_

View File

@ -159,6 +159,7 @@ class DelayedMasm BASE_EMBEDDED {
#endif
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_DELAYED_MASM_ARM64_H_

View File

@ -85,6 +85,7 @@ class PrintDisassembler: public Disassembler {
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_DISASM_ARM64_H

View File

@ -63,6 +63,7 @@ class JavaScriptFrameConstants : public AllStatic {
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_FRAMES_ARM64_H_

View File

@ -532,7 +532,8 @@ enum DebugParameters {
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_INSTRUCTIONS_ARM64_H_

View File

@ -80,6 +80,7 @@ class Instrument: public DecoderVisitor {
uint64_t sample_period_;
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_INSTRUMENT_ARM64_H_

View File

@ -20,7 +20,7 @@ class PlatformInterfaceDescriptor {
private:
TargetAddressStorageMode storage_mode_;
};
}
} // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_INTERFACE_DESCRIPTORS_ARM64_H_

View File

@ -3254,6 +3254,7 @@ class LChunkBuilder final : public LChunkBuilderBase {
#undef DECLARE_HYDROGEN_ACCESSOR
#undef DECLARE_CONCRETE_INSTRUCTION
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_LITHIUM_ARM64_H_

View File

@ -460,6 +460,7 @@ class BranchGenerator BASE_EMBEDDED {
LCodeGen* codegen_;
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_

View File

@ -92,6 +92,7 @@ class LGapResolver BASE_EMBEDDED {
LOperand* saved_destination_;
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_LITHIUM_GAP_RESOLVER_ARM64_H_

View File

@ -1683,6 +1683,7 @@ void MacroAssembler::AnnotateInstrumentation(const char* marker_name) {
movn(xzr, (marker_name[1] << 8) | marker_name[0]);
}
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_INL_H_

View File

@ -2278,7 +2278,8 @@ class InlineSmiCheckInfo {
class DeltaBits : public BitField<uint32_t, 5, 32-5> {};
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#ifdef GENERATED_CODE_COVERAGE
#error "Unsupported option"

View File

@ -911,6 +911,7 @@ class SimulatorStack : public v8::internal::AllStatic {
#endif // !defined(USE_SIMULATOR)
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_SIMULATOR_ARM64_H_

View File

@ -151,6 +151,7 @@ inline float FusedMultiplyAdd(float op1, float op2, float a) {
return fmaf(op1, op2, a);
}
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ARM64_UTILS_ARM64_H_

View File

@ -1277,6 +1277,7 @@ class ConstantPoolBuilder BASE_EMBEDDED {
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ASSEMBLER_H_

View File

@ -170,6 +170,7 @@ typedef PerIsolateAssertScopeDebugOnly<COMPILATION_ASSERT, false>
// Scope to introduce an exception to DisallowDeoptimization.
typedef PerIsolateAssertScopeDebugOnly<COMPILATION_ASSERT, true>
AllowCompilation;
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_ASSERT_SCOPE_H_

View File

@ -350,7 +350,7 @@ void AstExpressionVisitor::VisitSuperPropertyReference(
void AstExpressionVisitor::VisitSuperCallReference(SuperCallReference* expr) {}
}
} // namespace v8::internal
} // namespace internal
} // namespace v8

View File

@ -43,7 +43,7 @@ class AstExpressionVisitor : public AstVisitor {
DISALLOW_COPY_AND_ASSIGN(AstExpressionVisitor);
};
}
} // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_AST_EXPRESSION_VISITOR_H_

View File

@ -316,5 +316,5 @@ void AstLiteralReindexer::VisitFunctionLiteral(FunctionLiteral* node) {
void AstLiteralReindexer::Reindex(Expression* pattern) {
pattern->Accept(this);
}
}
} // namespace v8::internal
} // namespace internal
} // namespace v8

View File

@ -39,7 +39,7 @@ class AstLiteralReindexer final : public AstVisitor {
DISALLOW_COPY_AND_ASSIGN(AstLiteralReindexer);
};
}
} // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_AST_LITERAL_REINDEXER

View File

@ -49,7 +49,7 @@ class OneByteStringStream {
int pos_;
};
}
} // namespace
class AstRawStringInternalizationKey : public HashTableKey {
public:

View File

@ -366,7 +366,8 @@ class AstValueFactory {
OTHER_CONSTANTS(F)
#undef F
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#undef STRING_CONSTANTS
#undef OTHER_CONSTANTS

View File

@ -3622,6 +3622,7 @@ class AstNodeFactory final BASE_EMBEDDED {
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_AST_H_

View File

@ -54,7 +54,7 @@ class BackgroundParsingTask : public ScriptCompiler::ScriptStreamingTask {
StreamedSource* source_; // Not owned.
int stack_size_;
};
}
} // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_BACKGROUND_PARSING_TASK_H_

View File

@ -133,7 +133,8 @@ Atomic64 Acquire_Load(volatile const Atomic64* ptr);
Atomic64 Release_Load(volatile const Atomic64* ptr);
#endif // V8_HOST_ARCH_64_BIT
} } // namespace v8::base
} // namespace base
} // namespace v8
// Include our platform specific implementation.
#if defined(THREAD_SANITIZER)

View File

@ -311,6 +311,7 @@ inline Atomic64 Release_Load(volatile const Atomic64* ptr) {
return *ptr;
}
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_ATOMICOPS_INTERNALS_ARM_GCC_H_

View File

@ -296,6 +296,7 @@ inline void NoBarrier_Store(volatile Atomic8* ptr, Atomic8 value) {
inline Atomic8 NoBarrier_Load(volatile const Atomic8* ptr) { return *ptr; }
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_ATOMICOPS_INTERNALS_ARM_GCC_H_

View File

@ -92,7 +92,8 @@ inline AtomicWord Release_Load(volatile const AtomicWord* ptr) {
reinterpret_cast<volatile const Atomic32*>(ptr));
}
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // !defined(V8_HOST_ARCH_64_BIT)

View File

@ -210,6 +210,7 @@ inline Atomic64 Release_Load(volatile const Atomic64* ptr) {
#endif // defined(__LP64__)
#undef ATOMICOPS_COMPILER_BARRIER
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_ATOMICOPS_INTERNALS_MAC_H_

View File

@ -302,6 +302,7 @@ inline Atomic64 Release_Load(volatile const Atomic64* ptr) {
return *ptr;
}
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_ATOMICOPS_INTERNALS_MIPS_GCC_H_

View File

@ -155,6 +155,7 @@ inline Atomic32 Release_Load(volatile const Atomic32* ptr) {
return *ptr;
}
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_ATOMICOPS_INTERNALS_MIPS_GCC_H_

View File

@ -132,7 +132,7 @@ inline Atomic64 Acquire_Load(volatile const Atomic64* ptr) {
inline Atomic64 Release_Load(volatile const Atomic64* ptr) {
return __sync_add_and_fetch(ptr, 0);
}
}
} // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_ATOMICOPS_INTERNALS_PORTABLE_H_

View File

@ -162,7 +162,7 @@ inline Atomic64 Release_Load(volatile const Atomic64* ptr) {
}
#endif
}
} // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_ATOMICOPS_INTERNALS_PPC_GCC_H_

View File

@ -47,7 +47,8 @@ struct AtomicOps_x86CPUFeatureStruct AtomicOps_Internalx86CPUFeatures = {
#endif
};
} } // namespace v8::base
} // namespace base
} // namespace v8
namespace {

View File

@ -267,7 +267,8 @@ inline Atomic64 Release_CompareAndSwap(volatile Atomic64* ptr,
#endif // defined(__x86_64__)
} } // namespace v8::base
} // namespace base
} // namespace v8
#undef ATOMICOPS_COMPILER_BARRIER

View File

@ -197,6 +197,7 @@ inline Atomic64 Release_CompareAndSwap(volatile Atomic64* ptr,
#endif // defined(_WIN64)
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_ATOMICOPS_INTERNALS_X86_MSVC_H_

View File

@ -691,4 +691,5 @@ CPU::CPU()
#endif // V8_HOST_ARCH_PPC
}
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -145,6 +145,7 @@ class CPU final {
bool is_fp64_mode_;
};
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_CPU_H_

View File

@ -232,6 +232,7 @@ struct LazyDynamicInstance {
CreateTrait, InitOnceTrait, DestroyTrait> type;
};
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_LAZY_INSTANCE_H_

View File

@ -417,7 +417,8 @@ template <>
inline bool is_fundamental<uint8_t>() {
return true;
}
}
} // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_MACROS_H_

View File

@ -50,4 +50,5 @@ void CallOnceImpl(OnceType* once, PointerArgFunction init_func, void* arg) {
}
}
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -97,6 +97,7 @@ inline void CallOnce(OnceType* once,
}
}
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_ONCE_H_

View File

@ -313,4 +313,5 @@ bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) {
#endif // V8_OS_POSIX
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -113,6 +113,7 @@ typedef LazyStaticInstance<
#define LAZY_CONDITION_VARIABLE_INITIALIZER LAZY_STATIC_INSTANCE_INITIALIZER
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_PLATFORM_CONDITION_VARIABLE_H_

View File

@ -92,6 +92,7 @@ class ElapsedTimer final {
#endif
};
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_PLATFORM_ELAPSED_TIMER_H_

View File

@ -188,4 +188,5 @@ bool RecursiveMutex::TryLock() {
return true;
}
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -210,6 +210,7 @@ class LockGuard final {
DISALLOW_COPY_AND_ASSIGN(LockGuard);
};
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_PLATFORM_MUTEX_H_

View File

@ -239,5 +239,5 @@ bool VirtualMemory::ReleaseRegion(void* base, size_t size) {
bool VirtualMemory::HasLazyCommits() { return true; }
}
} // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -252,4 +252,5 @@ bool VirtualMemory::HasLazyCommits() {
return false;
}
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -255,4 +255,5 @@ bool VirtualMemory::HasLazyCommits() {
return false;
}
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -388,4 +388,5 @@ bool VirtualMemory::HasLazyCommits() {
return true;
}
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -249,4 +249,5 @@ bool VirtualMemory::HasLazyCommits() {
return false;
}
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -286,4 +286,5 @@ bool VirtualMemory::HasLazyCommits() {
return false;
}
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -312,4 +312,5 @@ bool VirtualMemory::HasLazyCommits() {
return false;
}
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -208,4 +208,5 @@ bool VirtualMemory::HasLazyCommits() {
return false;
}
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -479,6 +479,7 @@ class Thread {
DISALLOW_COPY_AND_ASSIGN(Thread);
};
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_PLATFORM_PLATFORM_H_

View File

@ -201,4 +201,5 @@ bool Semaphore::WaitFor(const TimeDelta& rel_time) {
#endif // V8_OS_MACOSX
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -96,6 +96,7 @@ struct LazySemaphore {
#define LAZY_SEMAPHORE_INITIALIZER LAZY_DYNAMIC_INSTANCE_INITIALIZER
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_PLATFORM_SEMAPHORE_H_

View File

@ -644,4 +644,5 @@ bool TimeTicks::KernelTimestampAvailable() {
#endif // V8_OS_WIN
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -398,6 +398,7 @@ inline TimeTicks operator+(const TimeDelta& delta, const TimeTicks& ticks) {
return ticks + delta;
}
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_PLATFORM_TIME_H_

View File

@ -136,4 +136,5 @@ void RandomNumberGenerator::SetSeed(int64_t seed) {
seed_ = (seed ^ kMultiplier) & kMask;
}
} } // namespace v8::base
} // namespace base
} // namespace v8

View File

@ -94,6 +94,7 @@ class RandomNumberGenerator final {
int64_t seed_;
};
} } // namespace v8::base
} // namespace base
} // namespace v8
#endif // V8_BASE_UTILS_RANDOM_NUMBER_GENERATOR_H_

View File

@ -55,6 +55,7 @@ enum BignumDtoaMode {
void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits,
Vector<char> buffer, int* length, int* point);
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_BIGNUM_DTOA_H_

View File

@ -115,6 +115,7 @@ class Bignum {
DISALLOW_COPY_AND_ASSIGN(Bignum);
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_BIGNUM_H_

View File

@ -176,6 +176,7 @@ class NativesExternalStringResource final
size_t length_;
};
}} // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_BOOTSTRAPPER_H_

View File

@ -326,6 +326,7 @@ class Builtins {
DISALLOW_COPY_AND_ASSIGN(Builtins);
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_BUILTINS_H_

View File

@ -37,6 +37,7 @@ class PowersOfTenCache {
int* found_exponent);
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_CACHED_POWERS_H_

View File

@ -85,6 +85,7 @@ inline bool IsRegExpNewline(uc16 c) {
}
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_CHAR_PREDICATES_INL_H_

View File

@ -79,6 +79,7 @@ struct WhiteSpaceOrLineTerminator {
}
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_CHAR_PREDICATES_H_

View File

@ -23,7 +23,8 @@ extern bool FLAG_enable_slow_asserts;
const bool FLAG_enable_slow_asserts = false;
#endif
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#define DCHECK_TAG_ALIGNED(address) \
DCHECK((reinterpret_cast<intptr_t>(address) & \

View File

@ -597,7 +597,8 @@ class RuntimeCallHelper {
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#if V8_TARGET_ARCH_IA32
#include "src/ia32/code-stubs-ia32.h"

View File

@ -170,6 +170,7 @@ class CodeAgingHelper {
#endif
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_CODEGEN_H_

View File

@ -236,6 +236,7 @@ class CompilationCache {
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_COMPILATION_CACHE_H_

View File

@ -61,7 +61,7 @@ class CompilationDependencies {
DependentCode* Get(Handle<Object> object);
void Set(Handle<Object> object, Handle<DependentCode> dep);
};
}
} // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_DEPENDENCIES_H_

View File

@ -716,6 +716,7 @@ class CompilationPhase BASE_EMBEDDED {
DISALLOW_COPY_AND_ASSIGN(CompilationPhase);
};
} } // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_COMPILER_H_

Some files were not shown because too many files have changed in this diff Show More