[presubmit] Enable readability/namespace linter checking.
authormstarzinger <mstarzinger@chromium.org>
Wed, 30 Sep 2015 13:46:56 +0000 (06:46 -0700)
committerJongsoo Yoon <join.yoon@samsung.com>
Fri, 20 Nov 2015 13:32:15 +0000 (22:32 +0900)
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}

408 files changed:
include/v8.h
src/accessors.h
src/allocation-site-scopes.h
src/allocation.h
src/api.h
src/arguments.h
src/arm/assembler-arm-inl.h
src/arm/assembler-arm.h
src/arm/code-stubs-arm.h
src/arm/codegen-arm.h
src/arm/constants-arm.h
src/arm/frames-arm.h
src/arm/interface-descriptors-arm.h
src/arm/lithium-arm.h
src/arm/lithium-codegen-arm.h
src/arm/lithium-gap-resolver-arm.h
src/arm/macro-assembler-arm.h
src/arm/simulator-arm.h
src/arm64/assembler-arm64-inl.h
src/arm64/assembler-arm64.h
src/arm64/code-stubs-arm64.h
src/arm64/codegen-arm64.h
src/arm64/constants-arm64.h
src/arm64/decoder-arm64-inl.h
src/arm64/decoder-arm64.h
src/arm64/delayed-masm-arm64-inl.h
src/arm64/delayed-masm-arm64.h
src/arm64/disasm-arm64.h
src/arm64/frames-arm64.h
src/arm64/instructions-arm64.h
src/arm64/instrument-arm64.h
src/arm64/interface-descriptors-arm64.h
src/arm64/lithium-arm64.h
src/arm64/lithium-codegen-arm64.h
src/arm64/lithium-gap-resolver-arm64.h
src/arm64/macro-assembler-arm64-inl.h
src/arm64/macro-assembler-arm64.h
src/arm64/simulator-arm64.h
src/arm64/utils-arm64.h
src/assembler.h
src/assert-scope.h
src/ast-expression-visitor.cc
src/ast-expression-visitor.h
src/ast-literal-reindexer.cc
src/ast-literal-reindexer.h
src/ast-value-factory.cc
src/ast-value-factory.h
src/ast.h
src/background-parsing-task.h
src/base/atomicops.h
src/base/atomicops_internals_arm64_gcc.h
src/base/atomicops_internals_arm_gcc.h
src/base/atomicops_internals_atomicword_compat.h
src/base/atomicops_internals_mac.h
src/base/atomicops_internals_mips64_gcc.h
src/base/atomicops_internals_mips_gcc.h
src/base/atomicops_internals_portable.h
src/base/atomicops_internals_ppc_gcc.h
src/base/atomicops_internals_x86_gcc.cc
src/base/atomicops_internals_x86_gcc.h
src/base/atomicops_internals_x86_msvc.h
src/base/cpu.cc
src/base/cpu.h
src/base/lazy-instance.h
src/base/macros.h
src/base/once.cc
src/base/once.h
src/base/platform/condition-variable.cc
src/base/platform/condition-variable.h
src/base/platform/elapsed-timer.h
src/base/platform/mutex.cc
src/base/platform/mutex.h
src/base/platform/platform-aix.cc
src/base/platform/platform-cygwin.cc
src/base/platform/platform-freebsd.cc
src/base/platform/platform-linux.cc
src/base/platform/platform-macos.cc
src/base/platform/platform-openbsd.cc
src/base/platform/platform-qnx.cc
src/base/platform/platform-solaris.cc
src/base/platform/platform.h
src/base/platform/semaphore.cc
src/base/platform/semaphore.h
src/base/platform/time.cc
src/base/platform/time.h
src/base/utils/random-number-generator.cc
src/base/utils/random-number-generator.h
src/bignum-dtoa.h
src/bignum.h
src/bootstrapper.h
src/builtins.h
src/cached-powers.h
src/char-predicates-inl.h
src/char-predicates.h
src/checks.h
src/code-stubs.h
src/codegen.h
src/compilation-cache.h
src/compilation-dependencies.h
src/compiler.h
src/compiler/arm64/instruction-codes-arm64.h
src/compiler/ast-loop-assignment-analyzer.h
src/compiler/c-linkage.cc
src/compiler/frame.h
src/compiler/interpreter-assembler.cc
src/compiler/interpreter-assembler.h
src/compiler/verifier.h
src/compiler/x64/code-generator-x64.cc
src/context-measure.cc
src/context-measure.h
src/contexts.h
src/conversions-inl.h
src/counters.h
src/date.h
src/dateparser-inl.h
src/dateparser.h
src/debug/debug.h
src/debug/liveedit.h
src/disassembler.h
src/diy-fp.h
src/double.h
src/dtoa.h
src/effects.h
src/elements-kind.h
src/elements.h
src/execution.h
src/expression-classifier.h
src/extensions/externalize-string-extension.h
src/extensions/free-buffer-extension.h
src/extensions/gc-extension.h
src/extensions/statistics-extension.h
src/extensions/trigger-failure-extension.h
src/factory.h
src/fast-dtoa.h
src/field-index-inl.h
src/field-index.h
src/fixed-dtoa.h
src/flags.h
src/frames-inl.h
src/frames.h
src/full-codegen/full-codegen.h
src/func-name-inferrer.h
src/futex-emulation.h
src/global-handles.h
src/globals.h
src/hashmap.h
src/heap/array-buffer-tracker.h
src/heap/gc-idle-time-handler.cc
src/heap/gc-tracer.h
src/heap/heap-inl.h
src/heap/heap.h
src/heap/incremental-marking-job.h
src/heap/incremental-marking.h
src/heap/mark-compact.h
src/heap/memory-reducer.cc
src/heap/objects-visiting-inl.h
src/heap/objects-visiting.h
src/heap/scavenge-job.cc
src/heap/scavenge-job.h
src/heap/spaces-inl.h
src/heap/spaces.h
src/heap/store-buffer-inl.h
src/heap/store-buffer.h
src/hydrogen-alias-analysis.h
src/hydrogen-bce.h
src/hydrogen-bch.h
src/hydrogen-canonicalize.h
src/hydrogen-check-elimination.h
src/hydrogen-dce.h
src/hydrogen-dehoist.h
src/hydrogen-environment-liveness.h
src/hydrogen-escape-analysis.h
src/hydrogen-flow-engine.h
src/hydrogen-gvn.h
src/hydrogen-infer-representation.h
src/hydrogen-infer-types.h
src/hydrogen-instructions.h
src/hydrogen-load-elimination.h
src/hydrogen-mark-deoptimize.h
src/hydrogen-mark-unreachable.h
src/hydrogen-osr.h
src/hydrogen-range-analysis.h
src/hydrogen-redundant-phi.h
src/hydrogen-removable-simulates.h
src/hydrogen-representation-changes.h
src/hydrogen-sce.h
src/hydrogen-store-elimination.h
src/hydrogen-types.h
src/hydrogen-uint32-analysis.h
src/hydrogen.h
src/i18n.h
src/ia32/assembler-ia32-inl.h
src/ia32/assembler-ia32.h
src/ia32/code-stubs-ia32.h
src/ia32/codegen-ia32.h
src/ia32/frames-ia32.h
src/ia32/lithium-codegen-ia32.h
src/ia32/lithium-gap-resolver-ia32.h
src/ia32/lithium-ia32.h
src/ia32/macro-assembler-ia32.h
src/ia32/simulator-ia32.h
src/ic/access-compiler.h
src/ic/call-optimization.h
src/ic/handler-compiler.h
src/ic/ic-compiler.h
src/ic/ic-inl.h
src/ic/ic-state.h
src/ic/ic.h
src/ic/stub-cache.h
src/icu_util.h
src/identity-map.h
src/interface-descriptors.cc
src/interface-descriptors.h
src/isolate.h
src/json-parser.h
src/json-stringifier.h
src/layout-descriptor-inl.h
src/layout-descriptor.h
src/libplatform/default-platform.cc
src/libplatform/default-platform.h
src/libplatform/task-queue.cc
src/libplatform/task-queue.h
src/libplatform/worker-thread.cc
src/libplatform/worker-thread.h
src/list-inl.h
src/list.h
src/lithium-allocator-inl.h
src/lithium-allocator.h
src/lithium-codegen.h
src/lithium-inl.h
src/lithium.h
src/log-inl.h
src/log-utils.h
src/log.h
src/lookup-inl.h
src/lookup.h
src/macro-assembler.h
src/messages.h
src/mips/assembler-mips-inl.h
src/mips/assembler-mips.h
src/mips/code-stubs-mips.h
src/mips/codegen-mips.h
src/mips/constants-mips.h
src/mips/frames-mips.h
src/mips/lithium-codegen-mips.h
src/mips/lithium-gap-resolver-mips.h
src/mips/lithium-mips.h
src/mips/macro-assembler-mips.h
src/mips/simulator-mips.h
src/mips64/assembler-mips64-inl.h
src/mips64/assembler-mips64.h
src/mips64/code-stubs-mips64.h
src/mips64/codegen-mips64.h
src/mips64/constants-mips64.h
src/mips64/frames-mips64.h
src/mips64/lithium-codegen-mips64.h
src/mips64/lithium-gap-resolver-mips64.h
src/mips64/lithium-mips64.h
src/mips64/macro-assembler-mips64.h
src/mips64/simulator-mips64.h
src/modules.h
src/objects-inl.h
src/objects.h
src/optimizing-compile-dispatcher.h
src/parser.h
src/ppc/assembler-ppc-inl.h
src/ppc/assembler-ppc.h
src/ppc/code-stubs-ppc.h
src/ppc/codegen-ppc.h
src/ppc/constants-ppc.h
src/ppc/frames-ppc.h
src/ppc/lithium-codegen-ppc.h
src/ppc/lithium-gap-resolver-ppc.h
src/ppc/lithium-ppc.h
src/ppc/macro-assembler-ppc.h
src/ppc/simulator-ppc.h
src/preparse-data-format.h
src/preparse-data.h
src/preparser.cc
src/preparser.h
src/prettyprinter.h
src/profiler/allocation-tracker.h
src/profiler/circular-queue-inl.h
src/profiler/circular-queue.h
src/profiler/cpu-profiler-inl.h
src/profiler/cpu-profiler.h
src/profiler/heap-profiler.h
src/profiler/heap-snapshot-generator-inl.h
src/profiler/heap-snapshot-generator.h
src/profiler/profile-generator-inl.h
src/profiler/profile-generator.h
src/profiler/sampler.h
src/profiler/unbound-queue-inl.h
src/profiler/unbound-queue.h
src/property-details.h
src/property.h
src/regexp/arm/regexp-macro-assembler-arm.h
src/regexp/arm64/regexp-macro-assembler-arm64.h
src/regexp/bytecodes-irregexp.h
src/regexp/ia32/regexp-macro-assembler-ia32.h
src/regexp/interpreter-irregexp.h
src/regexp/jsregexp-inl.h
src/regexp/mips/regexp-macro-assembler-mips.h
src/regexp/mips64/regexp-macro-assembler-mips64.h
src/regexp/ppc/regexp-macro-assembler-ppc.h
src/regexp/regexp-macro-assembler-irregexp-inl.h
src/regexp/regexp-macro-assembler-irregexp.h
src/regexp/regexp-macro-assembler-tracer.h
src/regexp/regexp-macro-assembler.h
src/regexp/regexp-stack.h
src/regexp/x64/regexp-macro-assembler-x64.h
src/regexp/x87/regexp-macro-assembler-x87.h
src/rewriter.h
src/runtime-profiler.h
src/runtime/runtime-atomics.cc
src/runtime/runtime-futex.cc
src/runtime/runtime-utils.h
src/safepoint-table.h
src/scanner-character-streams.h
src/scanner.h
src/scopeinfo.h
src/scopes.h
src/small-pointer-list.h
src/snapshot/natives.h
src/snapshot/serialize.h
src/snapshot/snapshot-source-sink.h
src/snapshot/snapshot.h
src/splay-tree-inl.h
src/splay-tree.h
src/string-builder.h
src/string-search.h
src/string-stream.h
src/strings-storage.h
src/strtod.h
src/third_party/fdlibm/fdlibm.h
src/token.h
src/transitions-inl.h
src/transitions.h
src/type-feedback-vector-inl.h
src/type-feedback-vector.h
src/type-info.h
src/types-inl.h
src/types.h
src/typing-asm.cc
src/typing-asm.h
src/typing-reset.cc
src/typing-reset.h
src/typing.h
src/unique.h
src/v8.h
src/v8memory.h
src/v8threads.h
src/variables.h
src/vector.h
src/version.h
src/vm-state-inl.h
src/vm-state.h
src/x64/assembler-x64-inl.h
src/x64/assembler-x64.h
src/x64/code-stubs-x64.h
src/x64/codegen-x64.h
src/x64/frames-x64.h
src/x64/lithium-codegen-x64.h
src/x64/lithium-gap-resolver-x64.h
src/x64/lithium-x64.h
src/x64/macro-assembler-x64.h
src/x64/simulator-x64.h
src/x87/assembler-x87-inl.h
src/x87/assembler-x87.h
src/x87/code-stubs-x87.h
src/x87/codegen-x87.h
src/x87/frames-x87.h
src/x87/lithium-codegen-x87.h
src/x87/lithium-gap-resolver-x87.h
src/x87/lithium-x87.h
src/x87/macro-assembler-x87.h
src/x87/simulator-x87.h
src/zone-allocator.h
test/cctest/compiler/c-signature.h
test/cctest/compiler/function-tester.h
test/cctest/compiler/test-loop-assignment-analysis.cc
test/cctest/expression-type-collector.cc
test/cctest/expression-type-collector.h
test/cctest/gay-fixed.h
test/cctest/gay-precision.h
test/cctest/gay-shortest.h
test/cctest/heap-tester.h
test/cctest/interpreter/test-bytecode-generator.cc
test/cctest/print-extension.h
test/cctest/profiler-extension.h
test/cctest/test-api-interceptors.cc
test/cctest/test-array-list.cc
test/cctest/test-asm-validator.cc
test/cctest/test-ast-expression-visitor.cc
test/cctest/test-dictionary.cc
test/cctest/test-feedback-vector.cc
test/cctest/test-heap-profiler.cc
test/cctest/test-identity-map.cc
test/cctest/test-microtask-delivery.cc
test/cctest/test-typing-reset.cc
test/cctest/test-unscopables-hidden-prototype.cc
test/cctest/trace-extension.h
test/cctest/types-fuzz.h
test/unittests/compiler/node-matchers-unittest.cc
test/unittests/compiler/register-allocator-unittest.cc
test/unittests/runtime/runtime-interpreter-unittest.cc
tools/presubmit.py
tools/shell-utils.h

index 3953543..a51da93 100644 (file)
@@ -146,7 +146,7 @@ template<typename T> class CustomArguments;
 class PropertyCallbackArguments;
 class FunctionCallbackArguments;
 class GlobalHandles;
-}
+}  // namespace internal
 
 
 /**
index 3c0079d..6c1765c 100644 (file)
@@ -106,6 +106,7 @@ class Accessors : public AllStatic {
       Handle<ExecutableAccessorInfo> accessor);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ACCESSORS_H_
index 9e287c1..87b469a 100644 (file)
@@ -95,6 +95,7 @@ class AllocationSiteUsageContext : public AllocationSiteContext {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ALLOCATION_SITE_SCOPES_H_
index 292e1fe..7c1e023 100644 (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_
index 1229279..62ce67c 100644 (file)
--- a/src/api.h
+++ b/src/api.h
@@ -642,6 +642,7 @@ class Testing {
   static v8::Testing::StressType stress_type_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_API_H_
index ed995e7..63a3706 100644 (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_
index 8f8956c..ff44f40 100644 (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_
index 1d1cc48..2ada571 100644 (file)
@@ -1667,6 +1667,7 @@ class EnsureSpace BASE_EMBEDDED {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ARM_ASSEMBLER_ARM_H_
index e572fd9..845e38a 100644 (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_
index d36ce59..f54fb71 100644 (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_
index 6d544f3..efc060a 100644 (file)
@@ -702,6 +702,7 @@ class VFPRegisters {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ARM_CONSTANTS_ARM_H_
index dcba34f..1ea7b1a 100644 (file)
@@ -128,6 +128,7 @@ class JavaScriptFrameConstants : public AllStatic {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ARM_FRAMES_ARM_H_
index 6201adc..a649279 100644 (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_
index 8954710..a3dac05 100644 (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_
index dc58479..47f5cea 100644 (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_
index 88f1a7b..06cefef 100644 (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_
index d78bf8f..9787818 100644 (file)
@@ -1564,6 +1564,7 @@ inline MemOperand GlobalObjectOperand()  {
 #endif
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ARM_MACRO_ASSEMBLER_ARM_H_
index a972a77..0c6aaf8 100644 (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_
index f02207f..15085d5 100644 (file)
@@ -1259,6 +1259,7 @@ void Assembler::ClearRecordedAstId() {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ARM64_ASSEMBLER_ARM64_INL_H_
index f20be83..3fa8513 100644 (file)
@@ -2296,6 +2296,7 @@ class EnsureSpace BASE_EMBEDDED {
   }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ARM64_ASSEMBLER_ARM64_H_
index 1b64a62..3411533 100644 (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_
index 2f01c51..7100ef1 100644 (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_
index 1529c64..db68e42 100644 (file)
@@ -1237,6 +1237,7 @@ enum UnallocatedOp {
   UnallocatedFMask = 0x00000000
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ARM64_CONSTANTS_ARM64_H_
index c29f2d3..e00105e 100644 (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_
index 6140bc2..b1ef41f 100644 (file)
@@ -181,6 +181,7 @@ class Decoder : public V {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ARM64_DECODER_ARM64_H_
index 2c44630..54239a1 100644 (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_
index 76227a3..92daed2 100644 (file)
@@ -159,6 +159,7 @@ class DelayedMasm BASE_EMBEDDED {
 #endif
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ARM64_DELAYED_MASM_ARM64_H_
index c6b189b..cd43af3 100644 (file)
@@ -85,6 +85,7 @@ class PrintDisassembler: public Disassembler {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ARM64_DISASM_ARM64_H
index 9e65517..7835144 100644 (file)
@@ -63,6 +63,7 @@ class JavaScriptFrameConstants : public AllStatic {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ARM64_FRAMES_ARM64_H_
index 145a7c9..5c652e3 100644 (file)
@@ -532,7 +532,8 @@ enum DebugParameters {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 
 #endif  // V8_ARM64_INSTRUCTIONS_ARM64_H_
index 86ddfcb..02816e9 100644 (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_
index 76def88..20ab8cb 100644 (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_
index a77a6da..4a06025 100644 (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_
index 20e572c..8be1cfe 100644 (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_
index 8866db4..e362df1 100644 (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_
index 445513b..9b4abe5 100644 (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_
index 769140d..ade2e36 100644 (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"
index e4d9a81..a86a7ad 100644 (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_
index da91fd5..df42973 100644 (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_
index 433b9b8..f218112 100644 (file)
@@ -1277,6 +1277,7 @@ class ConstantPoolBuilder BASE_EMBEDDED {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ASSEMBLER_H_
index 8757a32..84e6990 100644 (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_
index 782d4bb..4a4bc60 100644 (file)
@@ -350,7 +350,7 @@ void AstExpressionVisitor::VisitSuperPropertyReference(
 
 
 void AstExpressionVisitor::VisitSuperCallReference(SuperCallReference* expr) {}
-}
 
 
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
index 43b34ba..b2b1f43 100644 (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_
index e5729c7..c0052ac 100644 (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
index 2fe920b..9d48d21 100644 (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
index 68cf015..e790ea2 100644 (file)
@@ -49,7 +49,7 @@ class OneByteStringStream {
   int pos_;
 };
 
-}
+}  // namespace
 
 class AstRawStringInternalizationKey : public HashTableKey {
  public:
index 69fc6cc..c2bfb83 100644 (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
index 4764918..9784797 100644 (file)
--- a/src/ast.h
+++ b/src/ast.h
@@ -3622,6 +3622,7 @@ class AstNodeFactory final BASE_EMBEDDED {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_AST_H_
index e999161..c224303 100644 (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_
index e76b3d0..3e628fe 100644 (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)
index b01783e..f24050a 100644 (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_
index e399657..f4c9d8c 100644 (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_
index 0530ced..4f758a7 100644 (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)
 
index 84f9dbc..c112506 100644 (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_
index ccb973c..85b4e46 100644 (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_
index 442fdd0..8d65db2 100644 (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_
index a3a6e74..bb99973 100644 (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_
index daa27b4..0d16500 100644 (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_
index ab7dd8d..c031030 100644 (file)
@@ -47,7 +47,8 @@ struct AtomicOps_x86CPUFeatureStruct AtomicOps_Internalx86CPUFeatures = {
 #endif
 };
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
 
 namespace {
 
index ec87c42..55bc44c 100644 (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
 
index adc4031..c37bc78 100644 (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_
index 4f58720..692494a 100644 (file)
@@ -691,4 +691,5 @@ CPU::CPU()
 #endif  // V8_HOST_ARCH_PPC
 }
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
index 1dc0a91..ca108fa 100644 (file)
@@ -145,6 +145,7 @@ class CPU final {
   bool is_fp64_mode_;
 };
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
 
 #endif  // V8_BASE_CPU_H_
index a20689a..4c0a3f8 100644 (file)
@@ -232,6 +232,7 @@ struct LazyDynamicInstance {
       CreateTrait, InitOnceTrait, DestroyTrait> type;
 };
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
 
 #endif  // V8_BASE_LAZY_INSTANCE_H_
index 6dc96f4..f47b0b9 100644 (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_
index eaabf40..818a9f2 100644 (file)
@@ -50,4 +50,5 @@ void CallOnceImpl(OnceType* once, PointerArgFunction init_func, void* arg) {
   }
 }
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
index 6bf741d..790a886 100644 (file)
@@ -97,6 +97,7 @@ inline void CallOnce(OnceType* once,
   }
 }
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
 
 #endif  // V8_BASE_ONCE_H_
index e5b9bd0..fcd6cf7 100644 (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
index 9cb7064..72d6f28 100644 (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_
index 3fe7e8f..f9a9ef4 100644 (file)
@@ -92,6 +92,7 @@ class ElapsedTimer final {
 #endif
 };
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
 
 #endif  // V8_BASE_PLATFORM_ELAPSED_TIMER_H_
index 8b1e305..1401605 100644 (file)
@@ -188,4 +188,5 @@ bool RecursiveMutex::TryLock() {
   return true;
 }
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
index 18e85de..61df19d 100644 (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_
index 03e9aa3..ea2824d 100644 (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
index 18f151a..a49e287 100644 (file)
@@ -252,4 +252,5 @@ bool VirtualMemory::HasLazyCommits() {
   return false;
 }
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
index b279e0c..8b33980 100644 (file)
@@ -255,4 +255,5 @@ bool VirtualMemory::HasLazyCommits() {
   return false;
 }
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
index 2a2abfe..a4b742a 100644 (file)
@@ -388,4 +388,5 @@ bool VirtualMemory::HasLazyCommits() {
   return true;
 }
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
index f16f329..419281f 100644 (file)
@@ -249,4 +249,5 @@ bool VirtualMemory::HasLazyCommits() {
   return false;
 }
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
index 369dd8e..af145e2 100644 (file)
@@ -286,4 +286,5 @@ bool VirtualMemory::HasLazyCommits() {
   return false;
 }
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
index b166528..3c90467 100644 (file)
@@ -312,4 +312,5 @@ bool VirtualMemory::HasLazyCommits() {
   return false;
 }
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
index 7e07f1a..a2ce2c1 100644 (file)
@@ -208,4 +208,5 @@ bool VirtualMemory::HasLazyCommits() {
   return false;
 }
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
index 2d08ecb..b96a207 100644 (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_
index 0679c00..d542862 100644 (file)
@@ -201,4 +201,5 @@ bool Semaphore::WaitFor(const TimeDelta& rel_time) {
 
 #endif  // V8_OS_MACOSX
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
index fa13101..18700d1 100644 (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_
index 5162182..e847d54 100644 (file)
@@ -644,4 +644,5 @@ bool TimeTicks::KernelTimestampAvailable() {
 
 #endif  // V8_OS_WIN
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
index 5fc01e8..29300e5 100644 (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_
index 29a48ff..4cf06a9 100644 (file)
@@ -136,4 +136,5 @@ void RandomNumberGenerator::SetSeed(int64_t seed) {
   seed_ = (seed ^ kMultiplier) & kMask;
 }
 
-} }  // namespace v8::base
+}  // namespace base
+}  // namespace v8
index 62c6b27..10f2789 100644 (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_
index d42801b..dab27ba 100644 (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_
index 7ebdae4..167c184 100644 (file)
@@ -115,6 +115,7 @@ class Bignum {
   DISALLOW_COPY_AND_ASSIGN(Bignum);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_BIGNUM_H_
index 659d74a..105c2d0 100644 (file)
@@ -176,6 +176,7 @@ class NativesExternalStringResource final
   size_t length_;
 };
 
-}}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_BOOTSTRAPPER_H_
index d912960..db4dfed 100644 (file)
@@ -326,6 +326,7 @@ class Builtins {
   DISALLOW_COPY_AND_ASSIGN(Builtins);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_BUILTINS_H_
index bfe3635..fade5c9 100644 (file)
@@ -37,6 +37,7 @@ class PowersOfTenCache {
                                                int* found_exponent);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_CACHED_POWERS_H_
index d90f919..ab5caa7 100644 (file)
@@ -85,6 +85,7 @@ inline bool IsRegExpNewline(uc16 c) {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_CHAR_PREDICATES_INL_H_
index 89f4171..3161ae4 100644 (file)
@@ -79,6 +79,7 @@ struct WhiteSpaceOrLineTerminator {
   }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_CHAR_PREDICATES_H_
index bd79866..80404e8 100644 (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) & \
index 163fdd8..f5f8bd2 100644 (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"
index 04f1309..7019d3d 100644 (file)
@@ -170,6 +170,7 @@ class CodeAgingHelper {
 #endif
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_CODEGEN_H_
index 2d7609e..2295f4c 100644 (file)
@@ -236,6 +236,7 @@ class CompilationCache {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_COMPILATION_CACHE_H_
index c142208..e7ee58f 100644 (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_
index 45cf7b5..ed38559 100644 (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_
index c2a52af..cbc0ac4 100644 (file)
@@ -158,8 +158,8 @@ namespace compiler {
   V(Operand2_R_SXTB)  /* %r0 SXTB (signed extend byte) */       \
   V(Operand2_R_SXTH)  /* %r0 SXTH (signed extend halfword) */
 
-}  // namespace internal
 }  // namespace compiler
+}  // namespace internal
 }  // namespace v8
 
 #endif  // V8_COMPILER_ARM64_INSTRUCTION_CODES_ARM64_H_
index cd56d0a..c2b47a7 100644 (file)
@@ -70,8 +70,8 @@ class AstLoopAssignmentAnalyzer : public AstVisitor {
   DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();
   DISALLOW_COPY_AND_ASSIGN(AstLoopAssignmentAnalyzer);
 };
-}
-}
-}  // namespace v8::internal::compiler
+}  // namespace compiler
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_COMPILER_AST_LOOP_ASSIGNMENT_ANALYZER_H_
index 76ddd2e..af5f813 100644 (file)
@@ -223,6 +223,7 @@ CallDescriptor* Linkage::GetSimplifiedCDescriptor(
       CallDescriptor::kNoFlags,      // flags
       "c-call");
 }
-}
-}
-}
+
+}  // namespace compiler
+}  // namespace internal
+}  // namespace v8
index 0b06678..9764b26 100644 (file)
@@ -184,8 +184,8 @@ class FrameOffset {
   static const int kFromSp = 1;
   static const int kFromFp = 0;
 };
-}
-}
-}  // namespace v8::internal::compiler
+}  // namespace compiler
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_COMPILER_FRAME_H_
index 1f5c0a2..43ef6db 100644 (file)
@@ -452,6 +452,6 @@ Schedule* InterpreterAssembler::schedule() {
 Zone* InterpreterAssembler::zone() { return raw_assembler_->zone(); }
 
 
-}  // namespace interpreter
+}  // namespace compiler
 }  // namespace internal
 }  // namespace v8
index 67ab9cc..f77ed22 100644 (file)
@@ -178,7 +178,7 @@ class InterpreterAssembler {
   DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
 };
 
-}  // namespace interpreter
+}  // namespace compiler
 }  // namespace internal
 }  // namespace v8
 
index cee323e..428558d 100644 (file)
@@ -56,8 +56,8 @@ class ScheduleVerifier {
  public:
   static void Run(Schedule* schedule);
 };
-}
-}
-}  // namespace v8::internal::compiler
+}  // namespace compiler
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_COMPILER_VERIFIER_H_
index 4c99171..4954705 100644 (file)
@@ -1816,6 +1816,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() {
 
 #undef __
 
-}  // namespace internal
 }  // namespace compiler
+}  // namespace internal
 }  // namespace v8
index da4aae4..0b87e39 100644 (file)
@@ -74,5 +74,5 @@ void ContextMeasure::VisitPointers(Object** start, Object** end) {
     MeasureObject(HeapObject::cast(*current));
   }
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
index f01c374..adfefbf 100644 (file)
@@ -41,7 +41,7 @@ class ContextMeasure : public ObjectVisitor {
 
   DISALLOW_COPY_AND_ASSIGN(ContextMeasure);
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_CONTEXT_MEASURE_H_
index fdd6650..9739c72 100644 (file)
@@ -552,6 +552,7 @@ class Context: public FixedArray {
   STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_CONTEXTS_H_
index 4b3ac27..f1ccb15 100644 (file)
@@ -758,6 +758,7 @@ double InternalStringToDouble(UnicodeCache* unicode_cache,
   return (sign == NEGATIVE) ? -converted : converted;
 }
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_CONVERSIONS_INL_H_
index 740b2a8..7d41501 100644 (file)
@@ -886,6 +886,7 @@ class Counters {
   DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_COUNTERS_H_
index 813d312..813e5b8 100644 (file)
@@ -276,6 +276,7 @@ class DateCache {
   base::TimezoneCache* tz_cache_;
 };
 
-} }   // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif
index e0b5cf9..5b3ac46 100644 (file)
@@ -327,6 +327,7 @@ DateParser::DateToken DateParser::ParseES6DateTime(
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_DATEPARSER_INL_H_
index d40e384..ad9ce70 100644 (file)
@@ -366,6 +366,7 @@ class DateParser : public AllStatic {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_DATEPARSER_H_
index 6a963c8..e319469 100644 (file)
@@ -762,6 +762,7 @@ class DebugCodegen : public AllStatic {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_DEBUG_DEBUG_H_
index 251368f..29fe605 100644 (file)
@@ -364,6 +364,7 @@ class SharedInfoWrapper : public JSArrayBasedStruct<SharedInfoWrapper> {
   friend class JSArrayBasedStruct<SharedInfoWrapper>;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif /* V8_DEBUG_LIVEEDIT_H_ */
index 32e48c4..ac53f77 100644 (file)
@@ -20,6 +20,7 @@ class Disassembler : public AllStatic {
                     Code* code = NULL);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_DISASSEMBLER_H_
index e0daf27..1325c94 100644 (file)
@@ -93,6 +93,7 @@ class DiyFp {
   int e_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_DIY_FP_H_
index cb12628..f21bd74 100644 (file)
@@ -204,6 +204,7 @@ class Double {
   }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_DOUBLE_H_
index ca6277e..9f190ab 100644 (file)
@@ -59,6 +59,7 @@ const int kBase10MaximalLength = 17;
 void DoubleToAscii(double v, DtoaMode mode, int requested_digits,
                    Vector<char> buffer, int* sign, int* length, int* point);
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_DTOA_H_
index 8d539f6..0204718 100644 (file)
@@ -329,6 +329,7 @@ class NestedEffects: public
   }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_EFFECTS_H_
index 1397bd7..5f6cd62 100644 (file)
@@ -226,6 +226,7 @@ inline bool IsTransitionableFastElementsKind(ElementsKind from_kind) {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ELEMENTS_KIND_H_
index fcc9002..27695b8 100644 (file)
@@ -189,6 +189,7 @@ MUST_USE_RESULT MaybeHandle<Object> ArrayConstructInitializeElements(
     Handle<JSArray> array,
     Arguments* args);
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ELEMENTS_H_
index 84f106a..0b603ee 100644 (file)
@@ -247,6 +247,7 @@ class StackGuard final {
   DISALLOW_COPY_AND_ASSIGN(StackGuard);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_EXECUTION_H_
index fb45f41..0c4e588 100644 (file)
@@ -279,7 +279,8 @@ class ExpressionClassifier {
   Error strong_mode_formal_parameter_error_;
   DuplicateFinder* duplicate_finder_;
 };
-}
-}  // v8::internal
+
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_EXPRESSION_CLASSIFIER_H
index 009e818..c8907b4 100644 (file)
@@ -22,6 +22,7 @@ class ExternalizeStringExtension : public v8::Extension {
   static const char* const kSource;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_EXTENSIONS_EXTERNALIZE_STRING_EXTENSION_H_
index bb1418c..6bc5e57 100644 (file)
@@ -19,6 +19,7 @@ class FreeBufferExtension : public v8::Extension {
   static void FreeBuffer(const v8::FunctionCallbackInfo<v8::Value>& args);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_EXTENSIONS_FREE_BUFFER_EXTENSION_H_
index 9143391..9be0d4b 100644 (file)
@@ -30,6 +30,7 @@ class GCExtension : public v8::Extension {
   char buffer_[50];
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_EXTENSIONS_GC_EXTENSION_H_
index 5dac409..714f86a 100644 (file)
@@ -21,6 +21,7 @@ class StatisticsExtension : public v8::Extension {
   static const char* const kSource;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_EXTENSIONS_STATISTICS_EXTENSION_H_
index 4b10bdc..7c7ecf8 100644 (file)
@@ -26,6 +26,7 @@ class TriggerFailureExtension : public v8::Extension {
   static const char* const kSource;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_EXTENSIONS_TRIGGER_FAILURE_EXTENSION_H_
index b7602e0..4160f0d 100644 (file)
@@ -720,6 +720,7 @@ class Factory final {
   void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_FACTORY_H_
index 38e8a82..d9e3ba8 100644 (file)
@@ -57,6 +57,7 @@ bool FastDtoa(double d,
               int* length,
               int* decimal_point);
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_FAST_DTOA_H_
index b8bc67b..2e6693c 100644 (file)
@@ -118,6 +118,7 @@ inline int FieldIndex::GetKeyedLookupCacheIndex() const {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif
index 67515be..ae054a6 100644 (file)
@@ -111,6 +111,7 @@ class FieldIndex final {
   int bit_field_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif
index 0a6cb50..f8a29e0 100644 (file)
@@ -29,6 +29,7 @@ namespace internal {
 bool FastFixedDtoa(double v, int fractional_count,
                    Vector<char> buffer, int* length, int* decimal_point);
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_FIXED_DTOA_H_
index 545c172..7bf5151 100644 (file)
@@ -63,6 +63,7 @@ class FlagList {
   static uint32_t Hash();
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_FLAGS_H_
index cccd4d1..2a02f90 100644 (file)
@@ -286,6 +286,7 @@ inline StackFrame* SafeStackFrameIterator::frame() const {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_FRAMES_INL_H_
index d6bfd7a..9d06b48 100644 (file)
@@ -949,6 +949,7 @@ class StackFrameLocator BASE_EMBEDDED {
 // zone memory.
 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone);
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_FRAMES_H_
index 02da16b..9051a46 100644 (file)
@@ -1081,6 +1081,7 @@ class BackEdgeTable {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_FULL_CODEGEN_FULL_CODEGEN_H_
index 8b077f9..8bc0e6c 100644 (file)
@@ -109,6 +109,7 @@ class FuncNameInferrer : public ZoneObject {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_FUNC_NAME_INFERRER_H_
index e7e2230..9949bdf 100644 (file)
@@ -125,7 +125,7 @@ class FutexEmulation : public AllStatic {
   static base::LazyMutex mutex_;
   static base::LazyInstance<FutexWaitList>::type wait_list_;
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_FUTEX_EMULATION_H_
index 0ee8c20..63c1760 100644 (file)
@@ -438,6 +438,7 @@ class EternalHandles {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_GLOBAL_HANDLES_H_
index 9d4bafb..337947a 100644 (file)
@@ -1020,7 +1020,8 @@ inline FunctionKind WithObjectLiteralBit(FunctionKind kind) {
   DCHECK(IsValidFunctionKind(kind));
   return kind;
 }
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 namespace i = v8::internal;
 
index ee3797f..f94def7 100644 (file)
@@ -350,6 +350,7 @@ class TemplateHashMap: private TemplateHashMapImpl<AllocationPolicy> {
   }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HASHMAP_H_
index c12557a..7ba22fb 100644 (file)
@@ -68,6 +68,6 @@ class ArrayBufferTracker {
   std::map<void*, size_t> live_array_buffers_for_scavenge_;
   std::map<void*, size_t> not_yet_discovered_array_buffers_for_scavenge_;
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 #endif  // V8_HEAP_ARRAY_BUFFER_TRACKER_H_
index f77c015..73dd857 100644 (file)
@@ -186,5 +186,5 @@ GCIdleTimeAction GCIdleTimeHandler::Compute(double idle_time_in_ms,
 }
 
 
-}
-}
+}  // namespace internal
+}  // namespace v8
index de48d23..8036cde 100644 (file)
@@ -555,7 +555,7 @@ class GCTracer {
 
   DISALLOW_COPY_AND_ASSIGN(GCTracer);
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HEAP_GC_TRACER_H_
index c1e18a7..856d3aa 100644 (file)
@@ -701,7 +701,7 @@ void VerifySmisVisitor::VisitPointers(Object** start, Object** end) {
     CHECK((*current)->IsSmi());
   }
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HEAP_HEAP_INL_H_
index 0e427de..6f8a124 100644 (file)
@@ -2712,7 +2712,7 @@ class PathTracer : public ObjectVisitor {
   DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
 };
 #endif  // DEBUG
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HEAP_HEAP_H_
index fad46c1..c998139 100644 (file)
@@ -75,7 +75,7 @@ class IncrementalMarkingJob {
   bool delayed_task_pending_;
   bool made_progress_since_last_delayed_task_;
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HEAP_INCREMENTAL_MARKING_JOB_H_
index 8f38b5a..ee1290e 100644 (file)
@@ -276,7 +276,7 @@ class IncrementalMarking {
 
   DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HEAP_INCREMENTAL_MARKING_H_
index 724650c..527800f 100644 (file)
@@ -850,7 +850,7 @@ class EvacuationScope BASE_EMBEDDED {
 
 
 const char* AllocationSpaceName(AllocationSpace space);
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HEAP_MARK_COMPACT_H_
index 45d6bd3..24663db 100644 (file)
@@ -225,5 +225,5 @@ void MemoryReducer::ScheduleTimer(double delay_ms) {
 
 void MemoryReducer::TearDown() { state_ = State(kDone, 0, 0, 0.0); }
 
-}  // internal
-}  // v8
+}  // namespace internal
+}  // namespace v8
index 55734fd..ab0b357 100644 (file)
@@ -902,7 +902,7 @@ void Code::CodeIterateBody(Heap* heap) {
     it.rinfo()->template Visit<StaticVisitor>(heap);
   }
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_OBJECTS_VISITING_INL_H_
index 1eba887..6b0381b 100644 (file)
@@ -491,7 +491,7 @@ class WeakObjectRetainer;
 // access the next-element pointers.
 template <class T>
 Object* VisitWeakList(Heap* heap, Object* list, WeakObjectRetainer* retainer);
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_OBJECTS_VISITING_H_
index c380443..faf90fa 100644 (file)
@@ -112,5 +112,5 @@ void ScavengeJob::ScheduleIdleTask(Heap* heap) {
     }
   }
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
index c9e508e..56299a1 100644 (file)
@@ -74,7 +74,7 @@ class ScavengeJob {
   bool idle_task_rescheduled_;
   int bytes_allocated_since_the_last_task_;
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HEAP_SCAVENGE_JOB_H_
index a12ed6f..cd76fe6 100644 (file)
@@ -487,7 +487,7 @@ intptr_t LargeObjectSpace::Available() {
   return ObjectSizeFor(heap()->isolate()->memory_allocator()->Available());
 }
 
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HEAP_SPACES_INL_H_
index 2223808..a4664d7 100644 (file)
@@ -2973,7 +2973,7 @@ struct CommentStatistic {
   static const int kMaxComments = 64;
 };
 #endif
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HEAP_SPACES_H_
index 1f3dda2..e11ad87 100644 (file)
@@ -48,7 +48,7 @@ void StoreBuffer::EnterDirectlyIntoStoreBuffer(Address addr) {
     }
   }
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_STORE_BUFFER_INL_H_
index 37a78eb..08dcebf 100644 (file)
@@ -227,7 +227,7 @@ class DontMoveStoreBufferEntriesScope {
   StoreBuffer* store_buffer_;
   bool stored_state_;
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_STORE_BUFFER_H_
index 368dd5f..1ab078e 100644 (file)
@@ -68,6 +68,7 @@ class HAliasAnalyzer : public ZoneObject {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_ALIAS_ANALYSIS_H_
index 70c0a07..a5b1f3f 100644 (file)
@@ -46,6 +46,7 @@ class HBoundsCheckEliminationPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_BCE_H_
index 852c264..708bbd4 100644 (file)
@@ -27,6 +27,7 @@ class HBoundsCheckHoistingPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_BCE_H_
index eb23033..693085b 100644 (file)
@@ -23,6 +23,7 @@ class HCanonicalizePhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_CANONICALIZE_H_
index 7102a43..fdba949 100644 (file)
@@ -68,6 +68,7 @@ class HCheckEliminationPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_CHECK_ELIMINATION_H_
index af3679d..08f5326 100644 (file)
@@ -29,6 +29,7 @@ class HDeadCodeEliminationPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_DCE_H_
index 4aab30f..11e8386 100644 (file)
@@ -23,6 +23,7 @@ class HDehoistIndexComputationsPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_DEHOIST_H_
index e595927..f97a78c 100644 (file)
@@ -63,6 +63,7 @@ class HEnvironmentLivenessAnalysisPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif /* V8_HYDROGEN_ENVIRONMENT_LIVENESS_H_ */
index 0726b8e..be5f9f4 100644 (file)
@@ -65,6 +65,7 @@ class HEscapeAnalysisPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_ESCAPE_ANALYSIS_H_
index 257ab46..9735ea8 100644 (file)
@@ -214,6 +214,7 @@ class HFlowEngine {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_FLOW_ENGINE_H_
index fc7f273..ae45ecb 100644 (file)
@@ -148,6 +148,7 @@ class HGlobalValueNumberingPhase final : public HPhase {
   DISALLOW_COPY_AND_ASSIGN(HGlobalValueNumberingPhase);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_GVN_H_
index d07f89d..883173d 100644 (file)
@@ -29,6 +29,7 @@ class HInferRepresentationPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_INFER_REPRESENTATION_H_
index 41337ac..e5f5ef9 100644 (file)
@@ -31,6 +31,7 @@ class HInferTypesPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_INFER_TYPES_H_
index 9f5bc20..0c272fe 100644 (file)
@@ -7983,6 +7983,7 @@ class HAllocateBlockContext: public HTemplateInstruction<2> {
 #undef DECLARE_INSTRUCTION
 #undef DECLARE_CONCRETE_INSTRUCTION
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_INSTRUCTIONS_H_
index e6b432c..862df71 100644 (file)
@@ -22,6 +22,7 @@ class HLoadEliminationPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_LOAD_ELIMINATION_H_
index 52a6ef9..ad498cd 100644 (file)
@@ -47,6 +47,7 @@ class HComputeChangeUndefinedToNaN : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_MARK_DEOPTIMIZE_H_
index d43d22b..a7b2459 100644 (file)
@@ -25,6 +25,7 @@ class HMarkUnreachableBlocksPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_MARK_UNREACHABLE_H_
index 433548c..6a63988 100644 (file)
@@ -49,6 +49,7 @@ class HOsrBuilder : public ZoneObject {
   ZoneList<HUnknownOSRValue*>* osr_values_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_OSR_H_
index 1269ec7..f553302 100644 (file)
@@ -45,6 +45,7 @@ class HRangeAnalysisPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_RANGE_ANALYSIS_H_
index 7f5ec4e..7af46a4 100644 (file)
@@ -28,6 +28,7 @@ class HRedundantPhiEliminationPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_REDUNDANT_PHI_H_
index 9bd2505..569b974 100644 (file)
@@ -23,6 +23,7 @@ class HMergeRemovableSimulatesPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_REMOVABLE_SIMULATES_H_
index 2f5958a..0d60739 100644 (file)
@@ -27,6 +27,7 @@ class HRepresentationChangesPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_REPRESENTATION_CHANGES_H_
index 276d348..04b0f07 100644 (file)
@@ -20,6 +20,7 @@ class HStackCheckEliminationPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_SCE_H_
index 35a23a2..d818be9 100644 (file)
@@ -29,6 +29,7 @@ class HStoreEliminationPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif
index fe13345..ebfbac3 100644 (file)
@@ -86,6 +86,7 @@ class HType final {
 
 
 std::ostream& operator<<(std::ostream& os, const HType& t);
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // HYDROGEN_TYPES_H_
index 4d2797f..6667469 100644 (file)
@@ -31,6 +31,7 @@ class HUint32AnalysisPhase : public HPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_UINT32_ANALYSIS_H_
index c1215a3..59dec09 100644 (file)
@@ -3073,6 +3073,7 @@ class NoObservableSideEffectsScope final {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_HYDROGEN_H_
index ea8380b..a8db4d1 100644 (file)
@@ -128,6 +128,7 @@ class BreakIterator {
   BreakIterator();
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_I18N_H_
index 17ae01a..6c9c538 100644 (file)
@@ -559,6 +559,7 @@ Operand::Operand(Immediate imm) {
   set_modrm(0, ebp);
   set_dispr(imm.x_, imm.rmode_);
 }
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IA32_ASSEMBLER_IA32_INL_H_
index 57987bc..fd5cf1a 100644 (file)
@@ -1595,6 +1595,7 @@ class EnsureSpace BASE_EMBEDDED {
 #endif
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IA32_ASSEMBLER_IA32_H_
index c09b27b..fc6ba80 100644 (file)
@@ -385,6 +385,7 @@ class RecordWriteStub: public PlatformCodeStub {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IA32_CODE_STUBS_IA32_H_
index 2382388..03bb128 100644 (file)
@@ -42,6 +42,7 @@ class MathExpGenerator : public AllStatic {
   DISALLOW_COPY_AND_ASSIGN(MathExpGenerator);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IA32_CODEGEN_IA32_H_
index a5ce6a5..609dfec 100644 (file)
@@ -80,6 +80,7 @@ class JavaScriptFrameConstants : public AllStatic {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IA32_FRAMES_IA32_H_
index a26903a..5de35d8 100644 (file)
@@ -398,6 +398,7 @@ class LDeferredCode : public ZoneObject {
   int instruction_index_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IA32_LITHIUM_CODEGEN_IA32_H_
index d36e78b..07a1878 100644 (file)
@@ -80,6 +80,7 @@ class LGapResolver final BASE_EMBEDDED {
   int spilled_register_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IA32_LITHIUM_GAP_RESOLVER_IA32_H_
index 9e4b885..c59b336 100644 (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_IA32_LITHIUM_IA32_H_
index 508e209..68c4435 100644 (file)
@@ -1129,6 +1129,7 @@ extern void LogGeneratedCodeCoverage(const char* file_line);
 #endif
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IA32_MACRO_ASSEMBLER_IA32_H_
index 02a8e9c..af7ee3c 100644 (file)
@@ -43,6 +43,7 @@ class SimulatorStack : public v8::internal::AllStatic {
   static inline void UnregisterCTryCatch() { }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IA32_SIMULATOR_IA32_H_
index a5beb71..223bde4 100644 (file)
@@ -81,7 +81,7 @@ class PropertyAccessCompiler BASE_EMBEDDED {
   // Ensure that MacroAssembler has a reasonable size.
   STATIC_ASSERT(sizeof(MacroAssembler) < 128 * kPointerSize);
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IC_ACCESS_COMPILER_H_
index 01947d7..7963d1c 100644 (file)
@@ -61,7 +61,7 @@ class CallOptimization BASE_EMBEDDED {
   Handle<FunctionTemplateInfo> expected_receiver_type_;
   Handle<CallHandlerInfo> api_call_info_;
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IC_CALL_OPTIMIZATION_H_
index f5dafe9..4154b58 100644 (file)
@@ -297,7 +297,7 @@ class ElementHandlerCompiler : public PropertyHandlerCompiler {
 
   static void GenerateStoreSlow(MacroAssembler* masm);
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IC_HANDLER_COMPILER_H_
index ee6597d..ff32404 100644 (file)
@@ -125,7 +125,7 @@ class PropertyICCompiler : public PropertyAccessCompiler {
 };
 
 
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IC_IC_COMPILER_H_
index 646b73d..0998894 100644 (file)
@@ -193,7 +193,7 @@ bool IC::AddressIsDeoptimizedCode(Isolate* isolate, Address address) {
   return (host->kind() == Code::OPTIMIZED_FUNCTION &&
           host->marked_for_deoptimization());
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IC_INL_H_
index b529b8c..6d014d1 100644 (file)
@@ -268,7 +268,8 @@ class StoreICState final BASE_EMBEDDED {
  private:
   const ExtraICState state_;
 };
-}
-}
+
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IC_STATE_H_
index d65d7a8..b88fe68 100644 (file)
@@ -685,7 +685,7 @@ class ToBooleanIC : public IC {
 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK };
 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check);
 
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IC_H_
index cb1b628..4b27e6e 100644 (file)
@@ -165,7 +165,7 @@ class StubCache {
 
   DISALLOW_COPY_AND_ASSIGN(StubCache);
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_STUB_CACHE_H_
index cd98ff0..c308dec 100644 (file)
@@ -14,6 +14,7 @@ namespace internal {
 // function should be called before ICU is used.
 bool InitializeICU(const char* icu_data_file);
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ICU_UTIL_H_
index 2143e24..7c3e6a9 100644 (file)
@@ -92,7 +92,7 @@ class IdentityMap : public IdentityMapBase {
     *(reinterpret_cast<V*>(GetEntry(key))) = value;
   }
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_IDENTITY_MAP_H_
index b71f973..73090d6 100644 (file)
@@ -29,7 +29,7 @@ Type* AnyTagged(Zone* zone) {
 Type* ExternalPointer(Zone* zone) {
   return Type::Intersect(Type::Internal(), Type::UntaggedPointer(), zone);
 }
-}
+}  // namespace
 
 
 Type::FunctionType* CallInterfaceDescriptor::BuildDefaultFunctionType(
index 534313f..05b43dc 100644 (file)
@@ -720,8 +720,8 @@ class PushArgsAndCallDescriptor : public CallInterfaceDescriptor {
   CallDescriptors::Key name##Descriptor::key() { return CallDescriptors::name; }
 INTERFACE_DESCRIPTOR_LIST(DEF_KEY)
 #undef DEF_KEY
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 
 #if V8_TARGET_ARCH_ARM64
index 035b4b3..daddfda 100644 (file)
@@ -1550,6 +1550,7 @@ class CodeTracer final : public Malloced {
   int scope_depth_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ISOLATE_H_
index cac4979..2188953 100644 (file)
@@ -845,6 +845,7 @@ Handle<String> JsonParser<seq_one_byte>::ScanJsonString() {
   return result;
 }
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_JSON_PARSER_H_
index 260cade..c06256d 100644 (file)
@@ -675,6 +675,7 @@ void BasicJsonStringifier::SerializeString(Handle<String> object) {
   }
 }
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_JSON_STRINGIFIER_H_
index 3771064..31ab5d1 100644 (file)
@@ -250,7 +250,7 @@ bool LayoutDescriptorHelper::IsTagged(int offset_in_bytes) {
 
   return layout_descriptor_->IsTagged(field_index);
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_LAYOUT_DESCRIPTOR_INL_H_
index 11d8d35..5a80e73 100644 (file)
@@ -153,7 +153,7 @@ class LayoutDescriptorHelper {
   int header_size_;
   LayoutDescriptor* layout_descriptor_;
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_LAYOUT_DESCRIPTOR_H_
index ddceab5..383d8ce 100644 (file)
@@ -168,4 +168,5 @@ double DefaultPlatform::MonotonicallyIncreasingTime() {
   return base::TimeTicks::HighResolutionNow().ToInternalValue() /
          static_cast<double>(base::Time::kMicrosecondsPerSecond);
 }
-} }  // namespace v8::platform
+}  // namespace platform
+}  // namespace v8
index 94ef9c5..0dbedb6 100644 (file)
@@ -68,7 +68,8 @@ class DefaultPlatform : public Platform {
 };
 
 
-} }  // namespace v8::platform
+}  // namespace platform
+}  // namespace v8
 
 
 #endif  // V8_LIBPLATFORM_DEFAULT_PLATFORM_H_
index 7a9071f..0a630ed 100644 (file)
@@ -53,4 +53,5 @@ void TaskQueue::Terminate() {
   process_queue_semaphore_.Signal();
 }
 
-} }  // namespace v8::platform
+}  // namespace platform
+}  // namespace v8
index eb9d698..efe9e07 100644 (file)
@@ -41,7 +41,8 @@ class TaskQueue {
   DISALLOW_COPY_AND_ASSIGN(TaskQueue);
 };
 
-} }  // namespace v8::platform
+}  // namespace platform
+}  // namespace v8
 
 
 #endif  // V8_LIBPLATFORM_TASK_QUEUE_H_
index 9963715..a8e714a 100644 (file)
@@ -28,4 +28,5 @@ void WorkerThread::Run() {
   }
 }
 
-} }  // namespace v8::platform
+}  // namespace platform
+}  // namespace v8
index 730e039..6a55a6b 100644 (file)
@@ -32,7 +32,8 @@ class WorkerThread : public base::Thread {
   DISALLOW_COPY_AND_ASSIGN(WorkerThread);
 };
 
-} }  // namespace v8::platform
+}  // namespace platform
+}  // namespace v8
 
 
 #endif  // V8_LIBPLATFORM_WORKER_THREAD_H_
index 5a247d5..9a2d11f 100644 (file)
@@ -286,6 +286,7 @@ int SortedListBSearch(const List<T>& list, T elem) {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_LIST_INL_H_
index d935f76..8b8a5dd 100644 (file)
@@ -229,7 +229,8 @@ template <typename T>
 int SortedListBSearch(const List<T>& list, T elem);
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 
 #endif  // V8_LIST_H_
index 98923ae..bad2996 100644 (file)
@@ -54,6 +54,7 @@ void LAllocator::SetLiveRangeAssignedRegister(LiveRange* range, int reg) {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_LITHIUM_ALLOCATOR_INL_H_
index 7c94772..bd5127d 100644 (file)
@@ -568,6 +568,7 @@ class LAllocatorPhase : public CompilationPhase {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_LITHIUM_ALLOCATOR_H_
index ce04da9..c654ff7 100644 (file)
@@ -91,6 +91,7 @@ class LCodeGenBase BASE_EMBEDDED {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_LITHIUM_CODEGEN_H_
index 1a10773..cd15a45 100644 (file)
@@ -108,7 +108,7 @@ LOperand* UseIterator::Current() {
 void UseIterator::Advance() {
   input_iterator_.Done() ? env_iterator_.Advance() : input_iterator_.Advance();
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_LITHIUM_INL_H_
index 046de19..97c5c1d 100644 (file)
@@ -835,6 +835,7 @@ class UseIterator BASE_EMBEDDED {
 
 class LInstruction;
 class LCodeGen;
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_LITHIUM_H_
index 520d05c..70c74bc 100644 (file)
@@ -38,6 +38,7 @@ void Logger::CallEventLogger(Isolate* isolate, const char* name, StartEnd se,
     }
   }
 }
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_LOG_INL_H_
index 87dab52..0ceaccb 100644 (file)
@@ -134,6 +134,7 @@ class Log {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_LOG_UTILS_H_
index 33c1b29..064115b 100644 (file)
--- a/src/log.h
+++ b/src/log.h
@@ -526,7 +526,8 @@ class CodeEventLogger : public CodeEventListener {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 
 #endif  // V8_LOG_H_
index 3df2194..003ae5a 100644 (file)
@@ -136,7 +136,7 @@ LookupIterator::State LookupIterator::LookupNonMaskingInterceptorInHolder(
   UNREACHABLE();
   return state_;
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_LOOKUP_INL_H_
index 3888ed6..8365cfc 100644 (file)
@@ -316,6 +316,7 @@ class LookupIterator final BASE_EMBEDDED {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_LOOKUP_H_
index c865a5f..fd2aa7c 100644 (file)
@@ -278,6 +278,7 @@ class AllocationUtils {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MACRO_ASSEMBLER_H_
index bb78f3d..2c574a5 100644 (file)
@@ -490,6 +490,7 @@ class ErrorToStringHelper {
 
   List<Handle<JSObject> > visited_;
 };
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MESSAGES_H_
index f4bddf5..01f33a5 100644 (file)
@@ -485,6 +485,7 @@ void Assembler::emit(Instr x) {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_ASSEMBLER_MIPS_INL_H_
index c47f6d3..331e310 100644 (file)
@@ -1450,6 +1450,7 @@ class EnsureSpace BASE_EMBEDDED {
   }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ARM_ASSEMBLER_MIPS_H_
index 67228e0..9009ec2 100644 (file)
@@ -343,6 +343,7 @@ class NameDictionaryLookupStub: public PlatformCodeStub {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_CODE_STUBS_MIPS_H_
index f79ad4e..22784fc 100644 (file)
@@ -46,6 +46,7 @@ class MathExpGenerator : public AllStatic {
   DISALLOW_COPY_AND_ASSIGN(MathExpGenerator);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_CODEGEN_MIPS_H_
index fcbda80..813e33a 100644 (file)
@@ -1178,6 +1178,7 @@ Instruction::Type Instruction::InstructionType(TypeChecks checks) const {
 
 #undef OpcodeToBitNumber
 #undef FunctionFieldToBitNumber
-} }   // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif    // #ifndef V8_MIPS_CONSTANTS_H_
index 0452ece..849dea2 100644 (file)
@@ -169,6 +169,7 @@ class JavaScriptFrameConstants : public AllStatic {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif
index 858c7f1..9aab4df 100644 (file)
@@ -426,6 +426,7 @@ class LDeferredCode : public ZoneObject {
   int instruction_index_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
index 7374da7..6ede420 100644 (file)
@@ -53,6 +53,7 @@ class LGapResolver final BASE_EMBEDDED {
   LOperand* saved_destination_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_LITHIUM_GAP_RESOLVER_MIPS_H_
index ed3332c..cb62e35 100644 (file)
@@ -2843,6 +2843,7 @@ class LChunkBuilder final : public LChunkBuilderBase {
 #undef DECLARE_HYDROGEN_ACCESSOR
 #undef DECLARE_CONCRETE_INSTRUCTION
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_LITHIUM_MIPS_H_
index 1608c95..c8e21c4 100644 (file)
@@ -1744,6 +1744,7 @@ class CodePatcher {
 #define ACCESS_MASM(masm) masm->
 #endif
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
index bd30172..796d08f 100644 (file)
@@ -55,7 +55,8 @@ class SimulatorStack : public v8::internal::AllStatic {
   static inline void UnregisterCTryCatch() { }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 // Calculated the stack limit beyond which we will throw stack overflow errors.
 // This macro must be called from a C++ method. It relies on being able to take
@@ -480,7 +481,8 @@ class SimulatorStack : public v8::internal::AllStatic {
   }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // !defined(USE_SIMULATOR)
 #endif  // V8_MIPS_SIMULATOR_MIPS_H_
index 16ca33a..62dc2d3 100644 (file)
@@ -488,6 +488,7 @@ void Assembler::emit(uint64_t x) {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_ASSEMBLER_MIPS_INL_H_
index be57f29..b1be0e8 100644 (file)
@@ -1507,6 +1507,7 @@ class EnsureSpace BASE_EMBEDDED {
   }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ARM_ASSEMBLER_MIPS_H_
index c54a3d0..2e18f59 100644 (file)
@@ -344,6 +344,7 @@ class NameDictionaryLookupStub: public PlatformCodeStub {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_CODE_STUBS_MIPS64_H_
index f79ad4e..22784fc 100644 (file)
@@ -46,6 +46,7 @@ class MathExpGenerator : public AllStatic {
   DISALLOW_COPY_AND_ASSIGN(MathExpGenerator);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_CODEGEN_MIPS_H_
index f23f103..1de058b 100644 (file)
@@ -1252,6 +1252,7 @@ Instruction::Type Instruction::InstructionType(TypeChecks checks) const {
 
 #undef OpcodeToBitNumber
 #undef FunctionFieldToBitNumber
-} }   // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif    // #ifndef V8_MIPS_CONSTANTS_H_
index 9b6d326..9c42d8d 100644 (file)
@@ -169,6 +169,7 @@ class JavaScriptFrameConstants : public AllStatic {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif
index b08de16..7133f6d 100644 (file)
@@ -429,6 +429,7 @@ class LDeferredCode : public ZoneObject {
   int instruction_index_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
index 7374da7..6ede420 100644 (file)
@@ -53,6 +53,7 @@ class LGapResolver final BASE_EMBEDDED {
   LOperand* saved_destination_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_LITHIUM_GAP_RESOLVER_MIPS_H_
index 01463c9..0720c7e 100644 (file)
@@ -2889,6 +2889,7 @@ class LChunkBuilder final : public LChunkBuilderBase {
 #undef DECLARE_HYDROGEN_ACCESSOR
 #undef DECLARE_CONCRETE_INSTRUCTION
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_LITHIUM_MIPS_H_
index 5dfee07..68acbe3 100644 (file)
@@ -1841,6 +1841,7 @@ class CodePatcher {
 #define ACCESS_MASM(masm) masm->
 #endif
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
index e45cbd4..68d518e 100644 (file)
@@ -84,7 +84,8 @@ class SimulatorStack : public v8::internal::AllStatic {
   static inline void UnregisterCTryCatch() { }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 // Calculated the stack limit beyond which we will throw stack overflow errors.
 // This macro must be called from a C++ method. It relies on being able to take
@@ -526,7 +527,8 @@ class SimulatorStack : public v8::internal::AllStatic {
   }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // !defined(USE_SIMULATOR)
 #endif  // V8_MIPS_SIMULATOR_MIPS_H_
index 33afd61..f1dbd25 100644 (file)
@@ -115,6 +115,7 @@ class ModuleDescriptor : public ZoneObject {
   int index_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MODULES_H_
index 3d39278..58ccefa 100644 (file)
@@ -8046,6 +8046,7 @@ String::SubStringRange::iterator String::SubStringRange::end() {
 #undef NOBARRIER_READ_BYTE_FIELD
 #undef NOBARRIER_WRITE_BYTE_FIELD
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_OBJECTS_INL_H_
index 8566545..a9d6fff 100644 (file)
@@ -10624,6 +10624,8 @@ class KeyAccumulator final BASE_EMBEDDED {
   int length_;
   DISALLOW_COPY_AND_ASSIGN(KeyAccumulator);
 };
-} }  // namespace v8::internal
+
+}  // NOLINT, false-positive due to second-order macros.
+}  // NOLINT, false-positive due to second-order macros.
 
 #endif  // V8_OBJECTS_H_
index ad09dfa..9c4e4cb 100644 (file)
@@ -131,7 +131,7 @@ class OptimizingCompileDispatcher {
   // is not safe to access them directly.
   int recompilation_delay_;
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_OPTIMIZING_COMPILE_DISPATCHER_H_
index cf4cdad..940b569 100644 (file)
@@ -1373,6 +1373,7 @@ void ParserTraits::AddParameterInitializationBlock(
     }
   }
 }
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PARSER_H_
index b1e2825..4f6a35d 100644 (file)
@@ -720,7 +720,7 @@ void Assembler::set_target_address_at(Address pc, Address constant_pool,
   }
   UNREACHABLE();
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PPC_ASSEMBLER_PPC_INL_H_
index a1c08ad..c1d6358 100644 (file)
@@ -1612,7 +1612,7 @@ class EnsureSpace BASE_EMBEDDED {
  public:
   explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); }
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PPC_ASSEMBLER_PPC_H_
index bc6c26b..ef4bdce 100644 (file)
@@ -322,7 +322,7 @@ class NameDictionaryLookupStub : public PlatformCodeStub {
   DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR();
   DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub);
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PPC_CODE_STUBS_PPC_H_
index f8da74e..7f19bee 100644 (file)
@@ -35,7 +35,7 @@ class MathExpGenerator : public AllStatic {
  private:
   DISALLOW_COPY_AND_ASSIGN(MathExpGenerator);
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PPC_CODEGEN_PPC_H_
index b304bad..ece27a3 100644 (file)
@@ -592,7 +592,7 @@ class FPRegisters {
  private:
   static const char* names_[kNumFPRegisters];
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PPC_CONSTANTS_PPC_H_
index d5b6d3c..f5beb5c 100644 (file)
@@ -185,7 +185,7 @@ class JavaScriptFrameConstants : public AllStatic {
 };
 
 
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PPC_FRAMES_PPC_H_
index 117dc57..d48ee05 100644 (file)
@@ -358,7 +358,7 @@ class LDeferredCode : public ZoneObject {
   Label* external_exit_;
   int instruction_index_;
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PPC_LITHIUM_CODEGEN_PPC_H_
index 7741080..e7cd789 100644 (file)
@@ -52,7 +52,7 @@ class LGapResolver final BASE_EMBEDDED {
   bool in_cycle_;
   LOperand* saved_destination_;
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PPC_LITHIUM_GAP_RESOLVER_PPC_H_
index e862a11..304a365 100644 (file)
@@ -2760,7 +2760,7 @@ class LChunkBuilder final : public LChunkBuilderBase {
 
 #undef DECLARE_HYDROGEN_ACCESSOR
 #undef DECLARE_CONCRETE_INSTRUCTION
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PPC_LITHIUM_PPC_H_
index cfc1530..09f6cab 100644 (file)
@@ -1566,7 +1566,7 @@ inline MemOperand GlobalObjectOperand() {
 #else
 #define ACCESS_MASM(masm) masm->
 #endif
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PPC_MACRO_ASSEMBLER_PPC_H_
index 042b2ad..0df30da 100644 (file)
@@ -54,8 +54,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.
@@ -422,8 +422,8 @@ class SimulatorStack : public v8::internal::AllStatic {
     Simulator::current(Isolate::Current())->PopAddress();
   }
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // !defined(USE_SIMULATOR)
 #endif  // V8_PPC_SIMULATOR_PPC_H_
index 560693f..c68a684 100644 (file)
@@ -35,6 +35,7 @@ struct PreparseDataConstants {
 };
 
 
-} }  // namespace v8::internal.
+}  // namespace internal
+}  // namespace v8.
 
 #endif  // V8_PREPARSE_DATA_FORMAT_H_
index f7ed1ed..711ff3b 100644 (file)
@@ -206,6 +206,7 @@ class CompleteParserRecorder : public ParserRecorder {
 };
 
 
-} }  // namespace v8::internal.
+}  // namespace internal
+}  // namespace v8.
 
 #endif  // V8_PREPARSE_DATA_H_
index 1bdcb85..4ff2c95 100644 (file)
@@ -1237,4 +1237,5 @@ PreParser::Expression PreParser::ParseV8Intrinsic(bool* ok) {
 #undef CHECK_OK
 
 
-} }  // v8::internal
+}  // namespace internal
+}  // namespace v8
index 50dbcf1..3739447 100644 (file)
@@ -4183,6 +4183,7 @@ void ParserBase<Traits>::ClassLiteralChecker::CheckProperty(
     return;
   }
 }
-} }  // v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PREPARSER_H
index 1971cfe..33aa1eb 100644 (file)
@@ -133,6 +133,7 @@ class AstPrinter: public PrettyPrinter {
 
 #endif  // DEBUG
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PRETTYPRINTER_H_
index ebda3db..03802a5 100644 (file)
@@ -152,6 +152,7 @@ class AllocationTracker {
   DISALLOW_COPY_AND_ASSIGN(AllocationTracker);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ALLOCATION_TRACKER_H_
index 66b4af5..428945a 100644 (file)
@@ -64,6 +64,7 @@ typename SamplingCircularQueue<T, L>::Entry* SamplingCircularQueue<T, L>::Next(
   return next;
 }
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PROFILER_CIRCULAR_QUEUE_INL_H_
index 3508b37..272843b 100644 (file)
@@ -63,6 +63,7 @@ class SamplingCircularQueue {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PROFILER_CIRCULAR_QUEUE_H_
index df727ae..ea82c55 100644 (file)
@@ -74,6 +74,7 @@ void ProfilerEventsProcessor::FinishTickSample() {
   ticks_buffer_.FinishEnqueue();
 }
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PROFILER_CPU_PROFILER_INL_H_
index 2d67327..2326bb7 100644 (file)
@@ -270,7 +270,8 @@ class CpuProfiler : public CodeEventListener {
   DISALLOW_COPY_AND_ASSIGN(CpuProfiler);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 
 #endif  // V8_PROFILER_CPU_PROFILER_H_
index b304f38..d6fcbbd 100644 (file)
@@ -79,6 +79,7 @@ class HeapProfiler {
   base::Mutex profiler_mutex_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PROFILER_HEAP_PROFILER_H_
index 12e37f5..fb1e891 100644 (file)
@@ -43,6 +43,7 @@ HeapGraphEdge** HeapEntry::children_arr() {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_INL_H_
index 1baebee..4b3d1f0 100644 (file)
@@ -616,6 +616,7 @@ class HeapSnapshotJSONSerializer {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_
index c2e98cc..e8205c7 100644 (file)
@@ -43,6 +43,7 @@ ProfileNode::ProfileNode(ProfileTree* tree, CodeEntry* entry)
 inline unsigned ProfileNode::function_id() const {
   return tree_->GetFunctionId(this);
 }
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PROFILER_PROFILE_GENERATOR_INL_H_
index ce58d70..cd79dfa 100644 (file)
@@ -383,6 +383,7 @@ class ProfileGenerator {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PROFILER_PROFILE_GENERATOR_H_
index ed932c0..354e935 100644 (file)
@@ -130,6 +130,7 @@ class Sampler {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PROFILER_SAMPLER_H_
index fef7bec..8c45d09 100644 (file)
@@ -77,6 +77,7 @@ Record* UnboundQueue<Record>::Peek() const {
   return &next->value;
 }
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PROFILER_UNBOUND_QUEUE_INL_H_
index a63c327..c53b35a 100644 (file)
@@ -42,6 +42,7 @@ class UnboundQueue BASE_EMBEDDED {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PROFILER_UNBOUND_QUEUE_
index 33d3b8d..ca37927 100644 (file)
@@ -371,6 +371,7 @@ class PropertyDetails BASE_EMBEDDED {
 std::ostream& operator<<(std::ostream& os,
                          const PropertyAttributes& attributes);
 std::ostream& operator<<(std::ostream& os, const PropertyDetails& details);
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PROPERTY_DETAILS_H_
index 09ec5f2..b58c9c6 100644 (file)
@@ -107,6 +107,7 @@ class AccessorConstantDescriptor final : public Descriptor {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_PROPERTY_H_
index 123a957..c6cff65 100644 (file)
@@ -214,6 +214,7 @@ class RegExpMacroAssemblerARM: public NativeRegExpMacroAssembler {
 #endif  // V8_INTERPRETED_REGEXP
 
 
-}}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_
index a48291a..0dc5195 100644 (file)
@@ -289,6 +289,7 @@ class RegExpMacroAssemblerARM64: public NativeRegExpMacroAssembler {
 #endif  // V8_INTERPRETED_REGEXP
 
 
-}}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_
index 2769142..d6110a3 100644 (file)
@@ -76,6 +76,8 @@ BYTECODE_ITERATOR(DECLARE_BYTECODES)
   static const int BC_##name##_LENGTH = length;
 BYTECODE_ITERATOR(DECLARE_BYTECODE_LENGTH)
 #undef DECLARE_BYTECODE_LENGTH
-} }
+
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_BYTECODES_IRREGEXP_H_
index 8ec0a9e..06b9699 100644 (file)
@@ -196,6 +196,7 @@ class RegExpMacroAssemblerIA32: public NativeRegExpMacroAssembler {
 };
 #endif  // V8_INTERPRETED_REGEXP
 
-}}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_
index d97d3b0..244af99 100644 (file)
@@ -23,6 +23,7 @@ class IrregexpInterpreter {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_INTERPRETER_IRREGEXP_H_
index 118f3db..3eb7c3c 100644 (file)
@@ -78,6 +78,7 @@ int32_t* RegExpImpl::GlobalCache::LastSuccessfulMatch() {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_JSREGEXP_INL_H_
index 36fd4b1..da59546 100644 (file)
@@ -220,6 +220,7 @@ class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler {
 #endif  // V8_INTERPRETED_REGEXP
 
 
-}}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
index 84c85af..265bf77 100644 (file)
@@ -262,6 +262,7 @@ class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler {
 #endif  // V8_INTERPRETED_REGEXP
 
 
-}}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
index 2dd339e..04a0e5e 100644 (file)
@@ -208,7 +208,7 @@ const RegList kRegExpCalleeSaved =
     1 << 25 | 1 << 26 | 1 << 27 | 1 << 28 | 1 << 29 | 1 << 30 | 1 << 31;
 
 #endif  // V8_INTERPRETED_REGEXP
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_PPC_REGEXP_MACRO_ASSEMBLER_PPC_H_
index b86d28d..6f176cd 100644 (file)
@@ -56,6 +56,7 @@ void RegExpMacroAssemblerIrregexp::Emit32(uint32_t word) {
 
 #endif  // V8_INTERPRETED_REGEXP
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_INL_H_
index 556d78d..bbfe520 100644 (file)
@@ -125,6 +125,7 @@ class RegExpMacroAssemblerIrregexp: public RegExpMacroAssembler {
 
 #endif  // V8_INTERPRETED_REGEXP
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_
index d4092ce..f936419 100644 (file)
@@ -81,6 +81,7 @@ class RegExpMacroAssemblerTracer: public RegExpMacroAssembler {
   RegExpMacroAssembler* assembler_;
 };
 
-}}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_TRACER_H_
index c3d94a6..ea97d5b 100644 (file)
@@ -245,6 +245,7 @@ class NativeRegExpMacroAssembler: public RegExpMacroAssembler {
 
 #endif  // V8_INTERPRETED_REGEXP
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_H_
index 9a6394e..aea46cf 100644 (file)
@@ -124,6 +124,7 @@ class RegExpStack {
   DISALLOW_COPY_AND_ASSIGN(RegExpStack);
 };
 
-}}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_REGEXP_STACK_H_
index d690dc1..dbee9e8 100644 (file)
@@ -276,6 +276,7 @@ class RegExpMacroAssemblerX64: public NativeRegExpMacroAssembler {
 
 #endif  // V8_INTERPRETED_REGEXP
 
-}}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_X64_REGEXP_MACRO_ASSEMBLER_X64_H_
index f636ca0..0deea50 100644 (file)
@@ -196,6 +196,7 @@ class RegExpMacroAssemblerX87: public NativeRegExpMacroAssembler {
 };
 #endif  // V8_INTERPRETED_REGEXP
 
-}}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REGEXP_X87_REGEXP_MACRO_ASSEMBLER_X87_H_
index b283a55..4e76cd6 100644 (file)
@@ -22,6 +22,7 @@ class Rewriter {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_REWRITER_H_
index eff443d..0d57929 100644 (file)
@@ -39,6 +39,7 @@ class RuntimeProfiler {
   bool any_ic_changed_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_RUNTIME_PROFILER_H_
index 84eab2c..636371c 100644 (file)
@@ -721,5 +721,5 @@ RUNTIME_FUNCTION(Runtime_AtomicsIsLockFree) {
   uint32_t usize = NumberToUint32(*size);
   return isolate->heap()->ToBoolean(AtomicIsLockFree(usize));
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
index a96758d..b2bad77 100644 (file)
@@ -89,5 +89,5 @@ RUNTIME_FUNCTION(Runtime_AtomicsFutexNumWaitersForTesting) {
 
   return FutexEmulation::NumWaitersForTesting(isolate, array_buffer, addr);
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
index 4b072b1..ded2c09 100644 (file)
@@ -162,7 +162,7 @@ static inline ObjectPair MakePair(Object* x, Object* y) {
 }
 #endif
 
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_RUNTIME_RUNTIME_UTILS_H_
index a7719e0..fbb0152 100644 (file)
@@ -230,6 +230,7 @@ class SafepointTableBuilder BASE_EMBEDDED {
   DISALLOW_COPY_AND_ASSIGN(SafepointTableBuilder);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_SAFEPOINT_TABLE_H_
index a26f50a..b15da52 100644 (file)
@@ -183,6 +183,7 @@ class ExternalTwoByteStringUtf16CharacterStream: public Utf16CharacterStream {
   size_t bookmark_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_SCANNER_CHARACTER_STREAMS_H_
index a86ed07..c136a61 100644 (file)
@@ -763,6 +763,7 @@ class Scanner {
   bool has_multiline_comment_before_next_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_SCANNER_H_
index 70a17cd..2afc667 100644 (file)
@@ -169,6 +169,7 @@ class ModuleInfo: public FixedArray {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_SCOPEINFO_H_
index 61bf633..3054f30 100644 (file)
@@ -821,6 +821,7 @@ class Scope: public ZoneObject {
   int class_declaration_group_start_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_SCOPES_H_
index 241689e..9ece249 100644 (file)
@@ -170,6 +170,7 @@ class SmallPointerList {
   DISALLOW_COPY_AND_ASSIGN(SmallPointerList);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_SMALL_POINTER_LIST_H_
index c923a0f..c1e2fcd 100644 (file)
@@ -62,6 +62,7 @@ void ReadNatives();
 void DisposeNatives();
 #endif
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_SNAPSHOT_NATIVES_H_
index 2863ede..97cea9a 100644 (file)
@@ -981,6 +981,7 @@ class SerializedCodeData : public SerializedData {
   static const int kChecksum2Offset = kChecksum1Offset + kInt32Size;
   static const int kHeaderSize = kChecksum2Offset + kInt32Size;
 };
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_SNAPSHOT_SERIALIZE_H_
index e0290c9..af617cc 100644 (file)
@@ -101,7 +101,7 @@ class SnapshotByteSink {
   List<byte> data_;
 };
 
-}  // namespace v8::internal
+}  // namespace internal
 }  // namespace v8
 
 #endif  // V8_SNAPSHOT_SNAPSHOT_SOURCE_SINK_H_
index 1379644..f0b90bb 100644 (file)
@@ -89,6 +89,7 @@ class Snapshot : public AllStatic {
 void SetSnapshotFromFile(StartupData* snapshot_blob);
 #endif
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_SNAPSHOT_SNAPSHOT_H_
index 6c7b4f4..1adfdac 100644 (file)
@@ -290,6 +290,7 @@ void SplayTree<Config, Allocator>::ForEachNode(Callback* callback) {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_SPLAY_TREE_INL_H_
index 30e5d67..bee8429 100644 (file)
@@ -198,6 +198,7 @@ class SplayTree {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_SPLAY_TREE_H_
index 554277d..76b6f5b 100644 (file)
@@ -429,7 +429,7 @@ void IncrementalStringBuilder::Append(SrcChar c) {
   }
   if (current_index_ == part_length_) Extend();
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_STRING_BUILDER_H_
index c0cc2ca..7db0993 100644 (file)
@@ -563,6 +563,7 @@ int SearchString(Isolate* isolate,
   return search.Search(subject, start_index);
 }
 
-}}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_STRING_SEARCH_H_
index 2f11b18..03ea062 100644 (file)
@@ -178,6 +178,7 @@ class StringStream final {
   DISALLOW_IMPLICIT_CONSTRUCTORS(StringStream);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_STRING_STREAM_H_
index 8fd9da7..bc3020d 100644 (file)
@@ -41,7 +41,7 @@ class StringsStorage {
 
   DISALLOW_COPY_AND_ASSIGN(StringsStorage);
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_STRINGS_STORAGE_H_
index 737b548..75e60b0 100644 (file)
@@ -14,6 +14,7 @@ namespace internal {
 // contain a dot or a sign. It must not start with '0', and must not be empty.
 double Strtod(Vector<const char> buffer, int exponent);
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_STRTOD_H_
index c7bc09a..1519809 100644 (file)
@@ -25,7 +25,7 @@ int rempio2(double x, double* y);
 struct MathConstants {
   static const double constants[66];
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_FDLIBM_H_
index db9092d..2443e84 100644 (file)
@@ -318,6 +318,7 @@ class Token {
   static const char token_type[NUM_TOKENS];
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_TOKEN_H_
index f31eff9..a5ec52f 100644 (file)
@@ -173,6 +173,7 @@ void TransitionArray::SetNumberOfTransitions(int number_of_transitions) {
   set(kTransitionLengthIndex, Smi::FromInt(number_of_transitions));
 }
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_TRANSITIONS_INL_H_
index b0aab95..b979c97 100644 (file)
@@ -302,6 +302,7 @@ class TransitionArray: public FixedArray {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_TRANSITIONS_H_
index 4d1c345..2301f03 100644 (file)
@@ -166,7 +166,7 @@ void FeedbackNexus::SetFeedbackExtra(Object* feedback_extra,
 
 
 Isolate* FeedbackNexus::GetIsolate() const { return vector()->GetIsolate(); }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_TYPE_FEEDBACK_VECTOR_INL_H_
index 5c28fca..2d394b0 100644 (file)
@@ -497,7 +497,7 @@ class KeyedStoreICNexus : public FeedbackNexus {
   InlineCacheState StateFromFeedback() const override;
   Name* FindFirstName() const override;
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_TRANSITIONS_H_
index 96cc39f..c41720a 100644 (file)
@@ -155,6 +155,7 @@ class TypeFeedbackOracle: public ZoneObject {
   DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_TYPE_INFO_H_
index 699d642..9af4bcc 100644 (file)
@@ -481,6 +481,7 @@ void HeapTypeConfig::range_set_double(i::Handle<HeapTypeConfig::Range> range,
   i::Handle<Object> number = isolate->factory()->NewNumber(value);
   range->set(index + 2, *number);
 }
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_TYPES_INL_H_
index 3acd5cc..f78755e 100644 (file)
@@ -1186,6 +1186,7 @@ struct BoundsImpl {
 
 typedef BoundsImpl<ZoneTypeConfig> Bounds;
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_TYPES_H_
index f768896..501af02 100644 (file)
@@ -1072,5 +1072,5 @@ void AsmTyper::VisitWithExpectation(Expression* expr, Type* expected_type,
   }
   expected_type_ = save;
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
index 74c28fb..26ce65a 100644 (file)
@@ -89,7 +89,7 @@ class AsmTyper : public AstVisitor {
 
   DISALLOW_COPY_AND_ASSIGN(AsmTyper);
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_TYPING_ASM_H_
index af7641b..90f152c 100644 (file)
@@ -22,5 +22,5 @@ TypingReseter::TypingReseter(Isolate* isolate, Zone* zone,
 void TypingReseter::VisitExpression(Expression* expression) {
   expression->set_bounds(Bounds::Unbounded());
 }
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
index b809eb2..4e589a3 100644 (file)
@@ -20,7 +20,7 @@ class TypingReseter : public AstExpressionVisitor {
  protected:
   void VisitExpression(Expression* expression) override;
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_TYPING_RESET_H_
index 8b3e97b..c8d9af8 100644 (file)
@@ -76,6 +76,7 @@ class AstTyper: public AstVisitor {
   DISALLOW_COPY_AND_ASSIGN(AstTyper);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_TYPING_H_
index 8805218..3497735 100644 (file)
@@ -355,6 +355,7 @@ class UniqueSet final : public ZoneObject {
   }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_UNIQUE_H_
index f5b3b84..6016ef1 100644 (file)
--- a/src/v8.h
+++ b/src/v8.h
@@ -41,6 +41,7 @@ class V8 : public AllStatic {
   static v8::Platform* platform_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_V8_H_
index 615ec4f..b1ae939 100644 (file)
@@ -66,6 +66,7 @@ class Memory {
   }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_MEMORY_H_
index 3e189d5..db0ed07 100644 (file)
@@ -118,6 +118,7 @@ class ThreadManager {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_V8THREADS_H_
index dcd2e6a..1c6290d 100644 (file)
@@ -193,6 +193,7 @@ class ClassVariable : public Variable {
   // checks for functions too.
   int declaration_group_start_;
 };
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_VARIABLES_H_
index 4f3128b..e4637c9 100644 (file)
@@ -202,6 +202,7 @@ inline Vector<char> MutableCStrVector(char* data, int max) {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_VECTOR_H_
index 2596bee..3395d7f 100644 (file)
@@ -47,6 +47,7 @@ class Version {
                          bool candidate, const char* soname);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_VERSION_H_
index ac3941e..d60548d 100644 (file)
@@ -78,6 +78,7 @@ Address ExternalCallbackScope::scope_address() {
 }
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_VM_STATE_INL_H_
index 9838b87..81a90e3 100644 (file)
@@ -46,7 +46,8 @@ class ExternalCallbackScope BASE_EMBEDDED {
 #endif
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 
 #endif  // V8_VM_STATE_H_
index c66e86d..1737658 100644 (file)
@@ -629,6 +629,7 @@ void Operand::set_disp64(int64_t disp) {
   *p = disp;
   len_ += sizeof(disp);
 }
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X64_ASSEMBLER_X64_INL_H_
index 47e4d2b..956e142 100644 (file)
@@ -2148,6 +2148,7 @@ class EnsureSpace BASE_EMBEDDED {
 #endif
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X64_ASSEMBLER_X64_H_
index 1344400..4e3715b 100644 (file)
@@ -360,6 +360,7 @@ class RecordWriteStub: public PlatformCodeStub {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X64_CODE_STUBS_X64_H_
index 728d040..09af38d 100644 (file)
@@ -108,6 +108,7 @@ class StackArgumentsAccessor BASE_EMBEDDED {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X64_CODEGEN_X64_H_
index 1d9cf1e..d213ecb 100644 (file)
@@ -71,6 +71,7 @@ class JavaScriptFrameConstants : public AllStatic {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X64_FRAMES_X64_H_
index e05b310..d5ca006 100644 (file)
@@ -387,6 +387,7 @@ class LDeferredCode: public ZoneObject {
   int instruction_index_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X64_LITHIUM_CODEGEN_X64_H_
index 7882da5..db1a4ac 100644 (file)
@@ -44,6 +44,7 @@ class LGapResolver final BASE_EMBEDDED {
   ZoneList<LMoveOperands> moves_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X64_LITHIUM_GAP_RESOLVER_X64_H_
index 6129516..42d5a54 100644 (file)
@@ -2864,6 +2864,7 @@ class LChunkBuilder final : public LChunkBuilderBase {
 #undef DECLARE_HYDROGEN_ACCESSOR
 #undef DECLARE_CONCRETE_INSTRUCTION
 
-} }  // namespace v8::int
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X64_LITHIUM_X64_H_
index 1fca0e3..75d4885 100644 (file)
@@ -1640,6 +1640,7 @@ extern void LogGeneratedCodeCoverage(const char* file_line);
 #define ACCESS_MASM(masm) masm->
 #endif
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X64_MACRO_ASSEMBLER_X64_H_
index 35cbdc7..99649ec 100644 (file)
@@ -41,6 +41,7 @@ class SimulatorStack : public v8::internal::AllStatic {
   static inline void UnregisterCTryCatch() { }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X64_SIMULATOR_X64_H_
index 4543047..ef8876c 100644 (file)
@@ -554,6 +554,7 @@ Operand::Operand(Immediate imm) {
   set_modrm(0, ebp);
   set_dispr(imm.x_, imm.rmode_);
 }
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X87_ASSEMBLER_X87_INL_H_
index 1f454bc..2b5c7d2 100644 (file)
@@ -1097,6 +1097,7 @@ class EnsureSpace BASE_EMBEDDED {
 #endif
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X87_ASSEMBLER_X87_H_
index 25fc4d7..41c77f5 100644 (file)
@@ -374,6 +374,7 @@ class RecordWriteStub: public PlatformCodeStub {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X87_CODE_STUBS_X87_H_
index c23e866..e786b84 100644 (file)
@@ -28,6 +28,7 @@ class StringCharLoadGenerator : public AllStatic {
   DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X87_CODEGEN_X87_H_
index 89e6ebd..1b90078 100644 (file)
@@ -80,6 +80,7 @@ class JavaScriptFrameConstants : public AllStatic {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X87_FRAMES_X87_H_
index 2da1a31..08075e3 100644 (file)
@@ -499,6 +499,7 @@ class LDeferredCode : public ZoneObject {
   LCodeGen::X87Stack x87_stack_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X87_LITHIUM_CODEGEN_X87_H_
index cdd26b8..964f3b9 100644 (file)
@@ -80,6 +80,7 @@ class LGapResolver final BASE_EMBEDDED {
   int spilled_register_;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X87_LITHIUM_GAP_RESOLVER_X87_H_
index cc1a43f..2f392f8 100644 (file)
@@ -2897,6 +2897,7 @@ class LChunkBuilder final : public LChunkBuilderBase {
 #undef DECLARE_HYDROGEN_ACCESSOR
 #undef DECLARE_CONCRETE_INSTRUCTION
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X87_LITHIUM_X87_H_
index f1a8f82..4f165c9 100644 (file)
@@ -1083,6 +1083,7 @@ extern void LogGeneratedCodeCoverage(const char* file_line);
 #endif
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X87_MACRO_ASSEMBLER_X87_H_
index a780e83..3071842 100644 (file)
@@ -43,6 +43,7 @@ class SimulatorStack : public v8::internal::AllStatic {
   static inline void UnregisterCTryCatch() { }
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_X87_SIMULATOR_X87_H_
index 30abe21..f46151e 100644 (file)
@@ -66,6 +66,7 @@ class zone_allocator {
 
 typedef zone_allocator<bool> ZoneBoolAllocator;
 typedef zone_allocator<int> ZoneIntAllocator;
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_ZONE_ALLOCATOR_H_
index 8eaf632..6a17a29 100644 (file)
@@ -159,8 +159,8 @@ typedef CSignature2<uint32_t, uint32_t, uint32_t> CSignature_u_uu;
 typedef CSignature2<float, float, float> CSignature_f_ff;
 typedef CSignature2<double, double, double> CSignature_d_dd;
 typedef CSignature2<Object*, Object*, Object*> CSignature_o_oo;
-}
-}
-}  // namespace v8::internal::compiler
+}  // namespace compiler
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_COMPILER_C_SIGNATURE_H_
index c2b25e5..48f0b94 100644 (file)
@@ -212,8 +212,8 @@ class FunctionTester : public InitializedHandleScope {
     return function;
   }
 };
-}
-}
-}  // namespace v8::internal::compiler
+}  // namespace compiler
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_CCTEST_COMPILER_FUNCTION_TESTER_H_
index b59f181..d155ae8 100644 (file)
@@ -59,7 +59,7 @@ struct TestHelper : public HandleAndZoneScope {
     }
   }
 };
-}
+}  // namespace
 
 
 TEST(SimpleLoop1) {
index 9ab85ed..d3fa3e8 100644 (file)
@@ -24,7 +24,8 @@ struct {
     AST_NODE_LIST(DECLARE_VISIT)
 #undef DECLARE_VISIT
 };
-}
+
+}  // namespace
 
 
 ExpressionTypeCollector::ExpressionTypeCollector(
@@ -57,5 +58,6 @@ void ExpressionTypeCollector::VisitExpression(Expression* expression) {
   }
   result_->push_back(e);
 }
-}
-}
+
+}  // namespace internal
+}  // namespace v8
index 2175f5a..e9ab362 100644 (file)
@@ -33,7 +33,7 @@ class ExpressionTypeCollector : public AstExpressionVisitor {
  private:
   ZoneVector<ExpressionTypeEntry>* result_;
 };
-}
-}  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // V8_EXPRESSION_TYPE_COLLECTOR_H_
index c14c11f..5baa6c2 100644 (file)
@@ -44,6 +44,7 @@ struct PrecomputedFixed {
 // Gay's dtoa in mode "fixed".
 Vector<const PrecomputedFixed> PrecomputedFixedRepresentations();
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // GAY_FIXED_H_
index 08aaa1d..0ba3462 100644 (file)
@@ -44,6 +44,7 @@ struct PrecomputedPrecision {
 // Gay's dtoa in mode "precision".
 Vector<const PrecomputedPrecision> PrecomputedPrecisionRepresentations();
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // GAY_PRECISION_H_
index 4efe76b..b76476e 100644 (file)
@@ -41,6 +41,7 @@ struct PrecomputedShortest {
 
 Vector<const PrecomputedShortest> PrecomputedShortestRepresentations();
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif  // GAY_SHORTEST_H_
index fc2e254..f8cdded 100644 (file)
@@ -53,7 +53,8 @@ class HeapTester {
   /* test-api.cc */
   static void ResetWeakHandle(bool global_gc);
 };
-}
-}
+
+}  // namespace internal
+}  // namespace v8
 
 #endif  // HEAP_TESTER_H_
index e0668d5..3ffe0d6 100644 (file)
@@ -905,4 +905,4 @@ TEST(IfConditions) {
 
 }  // namespace interpreter
 }  // namespace internal
-}  // namespance v8
+}  // namespace v8
index b0d2b1c..c2961d0 100644 (file)
@@ -42,6 +42,7 @@ class PrintExtension : public v8::Extension {
   static void Print(const v8::FunctionCallbackInfo<v8::Value>& args);
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif
index 6f816b3..093a76e 100644 (file)
@@ -49,6 +49,7 @@ class ProfilerExtension : public v8::Extension {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif
index c0a8a28..0f94e59 100644 (file)
@@ -3251,7 +3251,8 @@ void DatabaseSetter(Local<Name> name, Local<Value> value,
   db->Set(context, name, value).FromJust();
   info.GetReturnValue().Set(value);
 }
-}
+
+}  // namespace
 
 
 THREADED_TEST(NonMaskingInterceptorGlobalEvalRegression) {
index 2852043..abcbf11 100644 (file)
@@ -38,4 +38,5 @@ TEST(ArrayList) {
   CHECK_EQ(100, Smi::cast(array->Get(0))->value());
   CHECK_EQ(200, Smi::cast(array->Get(1))->value());
 }
-}
+
+}  // namespace
index 0cc71ec..7b45a67 100644 (file)
@@ -74,7 +74,8 @@ std::string Validate(Zone* zone, const char* source,
     return typer.error_message();
   }
 }
-}
+
+}  // namespace
 
 
 TEST(ValidateMinimum) {
@@ -439,7 +440,8 @@ void CheckStdlibShortcuts(Zone* zone, ZoneVector<ExpressionTypeEntry>& types,
   CHECK_VAR_NEW_SHORTCUT(f32, Bounds(cache.kFloat32Array));
   CHECK_VAR_NEW_SHORTCUT(f64, Bounds(cache.kFloat64Array));
 }
-}
+
+}  // namespace
 
 
 #define CHECK_FUNC_TYPES_BEGIN(func)                   \
index 8bf4c60..5cef440 100644 (file)
@@ -45,7 +45,8 @@ static void CollectTypes(HandleAndZoneScope* handles, const char* source,
       info.scope()->declarations()->at(0)->AsFunctionDeclaration()->fun(), dst)
       .Run();
 }
-}
+
+}  // namespace
 
 
 TEST(VisitExpressions) {
index dc8a8b5..b732094 100644 (file)
@@ -239,4 +239,4 @@ TEST(ObjectHashTableCausesGC) {
 }
 #endif
 
-}
+}  // namespace
index d455ca0..efd0819 100644 (file)
@@ -559,4 +559,5 @@ TEST(VectorStoreICBasic) {
   StoreICNexus nexus(feedback_vector, slot);
   CHECK_EQ(MONOMORPHIC, nexus.StateFromFeedback());
 }
-}
+
+}  // namespace
index 55e5538..909aba0 100644 (file)
@@ -1351,7 +1351,8 @@ class TestActivityControl : public v8::ActivityControl {
   int total_;
   int abort_count_;
 };
-}
+
+}  // namespace
 
 
 TEST(TakeHeapSnapshotAborting) {
@@ -1444,7 +1445,8 @@ class TestRetainedObjectInfo : public v8::RetainedObjectInfo {
 
 
 i::List<TestRetainedObjectInfo*> TestRetainedObjectInfo::instances;
-}
+
+}  // namespace
 
 
 static const v8::HeapGraphNode* GetNode(const v8::HeapGraphNode* parent,
index ee64c4d..8523f25 100644 (file)
@@ -335,5 +335,6 @@ TEST(ExplicitGC) {
     t.CheckGet(num_keys[i], &num_keys[i]);
   }
 }
-}
-}
+
+}  // namespace internal
+}  // namespace v8
index 5befdfb..415be3c 100644 (file)
@@ -51,7 +51,7 @@ class HarmonyIsolate {
  private:
   v8::Isolate* isolate_;
 };
-}
+}  // namespace
 
 
 TEST(MicrotaskDeliverySimple) {
index 426f411..1a5fc82 100644 (file)
@@ -222,7 +222,8 @@ void CheckAllSame(ZoneVector<ExpressionTypeEntry>& types,
   }
   CHECK_TYPES_END
 }
-}
+
+}  // namespace
 
 
 TEST(ResetTypingInfo) {
index acfc426..50db316 100644 (file)
@@ -120,4 +120,5 @@ TEST(Unscopables) {
                   ->Int32Value(current_context)
                   .FromJust());
 }
-}
+
+}  // namespace
index 792e437..53e178b 100644 (file)
@@ -52,6 +52,7 @@ class TraceExtension : public v8::Extension {
   static const char* kSource;
 };
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif
index 7aa8d85..5c43e8e 100644 (file)
@@ -340,6 +340,7 @@ class Types {
 };
 
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8
 
 #endif
index 57174cc..f0cc407 100644 (file)
@@ -38,7 +38,8 @@ void CheckBaseWithIndexAndDisplacement(Matcher* matcher, Node* index, int scale,
   EXPECT_EQ(base, matcher->base());
   EXPECT_EQ(displacement, matcher->displacement());
 }
-};
+
+}  // namespace
 
 
 TEST_F(NodeMatcherTest, ScaledWithOffset32Matcher) {
index 23a118b..75942b6 100644 (file)
@@ -75,7 +75,8 @@ bool IsParallelMovePresent(int instr_index, Instruction::GapPosition gap_pos,
   }
   return found_match;
 }
-}
+
+}  // namespace
 
 
 class RegisterAllocatorTest : public InstructionSequenceTest {
@@ -722,7 +723,8 @@ class SlotConstraintTest : public RegisterAllocatorTest,
  private:
   typedef ::testing::WithParamInterface<::testing::tuple<ParameterType, int>> B;
 };
-}
+
+}  // namespace
 
 
 #if GTEST_HAS_COMBINE
index 0c3d414..97b7992 100644 (file)
@@ -167,6 +167,6 @@ TEST_F(RuntimeInterpreterTest, ToBoolean) {
 }
 
 
-}  // Namespace interpreter
+}  // namespace interpreter
 }  // namespace internal
 }  // namespace v8
index 338c708..5029450 100755 (executable)
@@ -50,7 +50,6 @@ from subprocess import PIPE
 # build/include_what_you_use: Started giving false positives for variables
 #   named "string" and "map" assuming that you needed to include STL headers.
 # TODO(bmeurer): Fix and re-enable readability/check
-# TODO(mstarzinger): Fix and re-enable readability/namespace
 
 LINT_RULES = """
 -build/header_guard
@@ -59,7 +58,6 @@ LINT_RULES = """
 -build/namespaces
 -readability/check
 -readability/inheritance
--readability/namespace
 -readability/nolint
 +readability/streams
 -runtime/references
index 31bd8ea..bfd729d 100644 (file)
@@ -66,4 +66,5 @@ const byte* ReadFileAndRepeat(const char* name, int* size, int repeat) {
   return chars;
 }
 
-} }  // namespace v8::internal
+}  // namespace internal
+}  // namespace v8