Commit 1edf51cf authored by erikcorry's avatar erikcorry Committed by Commit bot

Regularize namespace closing curlies

R=verwaest@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#28502}
parent bf032c2e
...@@ -292,6 +292,6 @@ int LoopAssignmentAnalysis::GetAssignmentCountForTesting(Scope* scope, ...@@ -292,6 +292,6 @@ int LoopAssignmentAnalysis::GetAssignmentCountForTesting(Scope* scope,
} }
return count; return count;
} }
} } // namespace compiler
} } // namespace internal
} // namespace v8::internal::compiler } // namespace v8
...@@ -111,6 +111,6 @@ void GapResolver::PerformMove(ParallelMove* moves, MoveOperands* move) const { ...@@ -111,6 +111,6 @@ void GapResolver::PerformMove(ParallelMove* moves, MoveOperands* move) const {
} }
} }
} }
} } // namespace compiler
} } // namespace internal
} // namespace v8::internal::compiler } // namespace v8
...@@ -826,6 +826,6 @@ std::ostream& operator<<(std::ostream& os, const AsRPO& ar) { ...@@ -826,6 +826,6 @@ std::ostream& operator<<(std::ostream& os, const AsRPO& ar) {
} }
return os; return os;
} }
} } // namespace compiler
} } // namespace internal
} // namespace v8::internal::compiler } // namespace v8
...@@ -203,6 +203,6 @@ CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, ...@@ -203,6 +203,6 @@ CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone,
return NULL; return NULL;
} }
#endif // !V8_TURBOFAN_BACKEND #endif // !V8_TURBOFAN_BACKEND
} } // namespace compiler
} } // namespace internal
} // namespace v8::internal::compiler } // namespace v8
...@@ -42,7 +42,7 @@ int FindFirstNonEmptySlot(Instruction* instr) { ...@@ -42,7 +42,7 @@ int FindFirstNonEmptySlot(Instruction* instr) {
return i; return i;
} }
} // namepace } // namespace
MoveOptimizer::MoveOptimizer(Zone* local_zone, InstructionSequence* code) MoveOptimizer::MoveOptimizer(Zone* local_zone, InstructionSequence* code)
......
...@@ -46,7 +46,7 @@ class ArchDefaultRegisterConfiguration : public RegisterConfiguration { ...@@ -46,7 +46,7 @@ class ArchDefaultRegisterConfiguration : public RegisterConfiguration {
static base::LazyInstance<ArchDefaultRegisterConfiguration>::type static base::LazyInstance<ArchDefaultRegisterConfiguration>::type
kDefaultRegisterConfiguration = LAZY_INSTANCE_INITIALIZER; kDefaultRegisterConfiguration = LAZY_INSTANCE_INITIALIZER;
} // namepace } // namespace
const RegisterConfiguration* RegisterConfiguration::ArchDefault() { const RegisterConfiguration* RegisterConfiguration::ArchDefault() {
......
...@@ -1104,6 +1104,6 @@ void ScheduleVerifier::Run(Schedule* schedule) { ...@@ -1104,6 +1104,6 @@ void ScheduleVerifier::Run(Schedule* schedule) {
} }
} }
} }
} } // namespace compiler
} } // namespace internal
} // namespace v8::internal::compiler } // namespace v8
...@@ -1418,5 +1418,5 @@ RUNTIME_FUNCTION(Runtime_FastOneByteArrayJoin) { ...@@ -1418,5 +1418,5 @@ RUNTIME_FUNCTION(Runtime_FastOneByteArrayJoin) {
// to a slow path. // to a slow path.
return isolate->heap()->undefined_value(); return isolate->heap()->undefined_value();
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -460,5 +460,5 @@ RUNTIME_FUNCTION(Runtime_CallSuperWithSpread) { ...@@ -460,5 +460,5 @@ RUNTIME_FUNCTION(Runtime_CallSuperWithSpread) {
UNIMPLEMENTED(); UNIMPLEMENTED();
return nullptr; return nullptr;
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -420,5 +420,5 @@ RUNTIME_FUNCTION(Runtime_ObservationWeakMapCreate) { ...@@ -420,5 +420,5 @@ RUNTIME_FUNCTION(Runtime_ObservationWeakMapCreate) {
Runtime::WeakCollectionInitialize(isolate, weakmap); Runtime::WeakCollectionInitialize(isolate, weakmap);
return *weakmap; return *weakmap;
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -441,5 +441,5 @@ RUNTIME_FUNCTION_RETURN_PAIR(Runtime_ResolvePossiblyDirectEval) { ...@@ -441,5 +441,5 @@ RUNTIME_FUNCTION_RETURN_PAIR(Runtime_ResolvePossiblyDirectEval) {
return CompileGlobalEval(isolate, args.at<String>(1), outer_info, return CompileGlobalEval(isolate, args.at<String>(1), outer_info,
args.at<Object>(3), language_mode, args.smi_at(5)); args.at<Object>(3), language_mode, args.smi_at(5));
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -186,5 +186,5 @@ RUNTIME_FUNCTION(Runtime_DateField) { ...@@ -186,5 +186,5 @@ RUNTIME_FUNCTION(Runtime_DateField) {
if (index == 0) return date->value(); if (index == 0) return date->value();
return JSDate::GetField(date, Smi::FromInt(index)); return JSDate::GetField(date, Smi::FromInt(index));
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -3212,5 +3212,5 @@ RUNTIME_FUNCTION(Runtime_DebugBreakInOptimizedCode) { ...@@ -3212,5 +3212,5 @@ RUNTIME_FUNCTION(Runtime_DebugBreakInOptimizedCode) {
UNIMPLEMENTED(); UNIMPLEMENTED();
return NULL; return NULL;
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -614,5 +614,5 @@ RUNTIME_FUNCTION(Runtime_ThrowStrongModeTooFewArguments) { ...@@ -614,5 +614,5 @@ RUNTIME_FUNCTION(Runtime_ThrowStrongModeTooFewArguments) {
THROW_NEW_ERROR_RETURN_FAILURE(isolate, THROW_NEW_ERROR_RETURN_FAILURE(isolate,
NewTypeError(MessageTemplate::kStrongArity)); NewTypeError(MessageTemplate::kStrongArity));
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -226,5 +226,5 @@ RUNTIME_FUNCTION(Runtime_GeneratorThrow) { ...@@ -226,5 +226,5 @@ RUNTIME_FUNCTION(Runtime_GeneratorThrow) {
UNREACHABLE(); // Optimization disabled in SetUpGenerators(). UNREACHABLE(); // Optimization disabled in SetUpGenerators().
return NULL; return NULL;
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -745,7 +745,7 @@ RUNTIME_FUNCTION(Runtime_BreakIteratorBreakType) { ...@@ -745,7 +745,7 @@ RUNTIME_FUNCTION(Runtime_BreakIteratorBreakType) {
return *isolate->factory()->NewStringFromStaticChars("unknown"); return *isolate->factory()->NewStringFromStaticChars("unknown");
} }
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
#endif // V8_I18N_SUPPORT #endif // V8_I18N_SUPPORT
...@@ -416,5 +416,5 @@ RUNTIME_FUNCTION(Runtime_GetTypeFeedbackVector) { ...@@ -416,5 +416,5 @@ RUNTIME_FUNCTION(Runtime_GetTypeFeedbackVector) {
CONVERT_ARG_CHECKED(JSFunction, function, 0); CONVERT_ARG_CHECKED(JSFunction, function, 0);
return function->shared()->feedback_vector(); return function->shared()->feedback_vector();
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -49,5 +49,5 @@ RUNTIME_FUNCTION(Runtime_ParseJson) { ...@@ -49,5 +49,5 @@ RUNTIME_FUNCTION(Runtime_ParseJson) {
: JsonParser<false>::Parse(source)); : JsonParser<false>::Parse(source));
return *result; return *result;
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -435,5 +435,5 @@ RUNTIME_FUNCTION(Runtime_StoreArrayLiteralElement) { ...@@ -435,5 +435,5 @@ RUNTIME_FUNCTION(Runtime_StoreArrayLiteralElement) {
} }
return *object; return *object;
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -290,5 +290,5 @@ RUNTIME_FUNCTION(Runtime_LiveEditRestartFrame) { ...@@ -290,5 +290,5 @@ RUNTIME_FUNCTION(Runtime_LiveEditRestartFrame) {
} }
return heap->true_value(); return heap->true_value();
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -252,5 +252,5 @@ RUNTIME_FUNCTION(Runtime_IsMinusZero) { ...@@ -252,5 +252,5 @@ RUNTIME_FUNCTION(Runtime_IsMinusZero) {
HeapNumber* number = HeapNumber::cast(obj); HeapNumber* number = HeapNumber::cast(obj);
return isolate->heap()->ToBoolean(IsMinusZero(number->value())); return isolate->heap()->ToBoolean(IsMinusZero(number->value()));
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -586,5 +586,5 @@ RUNTIME_FUNCTION(Runtime_GetRootNaN) { ...@@ -586,5 +586,5 @@ RUNTIME_FUNCTION(Runtime_GetRootNaN) {
DCHECK(args.length() == 0); DCHECK(args.length() == 0);
return isolate->heap()->nan_value(); return isolate->heap()->nan_value();
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -1566,5 +1566,5 @@ RUNTIME_FUNCTION(Runtime_DefineSetterPropertyUnchecked) { ...@@ -1566,5 +1566,5 @@ RUNTIME_FUNCTION(Runtime_DefineSetterPropertyUnchecked) {
setter, attrs)); setter, attrs));
return isolate->heap()->undefined_value(); return isolate->heap()->undefined_value();
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -157,5 +157,5 @@ RUNTIME_FUNCTION(Runtime_GetObjectContextNotifierPerformChange) { ...@@ -157,5 +157,5 @@ RUNTIME_FUNCTION(Runtime_GetObjectContextNotifierPerformChange) {
Handle<Context> context(object_info->GetCreationContext(), isolate); Handle<Context> context(object_info->GetCreationContext(), isolate);
return context->native_object_notifier_perform_change(); return context->native_object_notifier_perform_change();
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -81,5 +81,5 @@ RUNTIME_FUNCTION(Runtime_Fix) { ...@@ -81,5 +81,5 @@ RUNTIME_FUNCTION(Runtime_Fix) {
JSProxy::Fix(proxy); JSProxy::Fix(proxy);
return isolate->heap()->undefined_value(); return isolate->heap()->undefined_value();
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -1185,5 +1185,5 @@ RUNTIME_FUNCTION(Runtime_IsRegExp) { ...@@ -1185,5 +1185,5 @@ RUNTIME_FUNCTION(Runtime_IsRegExp) {
CONVERT_ARG_CHECKED(Object, obj, 0); CONVERT_ARG_CHECKED(Object, obj, 0);
return isolate->heap()->ToBoolean(obj->IsJSRegExp()); return isolate->heap()->ToBoolean(obj->IsJSRegExp());
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -1135,5 +1135,5 @@ RUNTIME_FUNCTION(Runtime_Arguments) { ...@@ -1135,5 +1135,5 @@ RUNTIME_FUNCTION(Runtime_Arguments) {
SealHandleScope shs(isolate); SealHandleScope shs(isolate);
return __RT_impl_Runtime_GetArgumentsProperty(args, isolate); return __RT_impl_Runtime_GetArgumentsProperty(args, isolate);
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -1349,5 +1349,5 @@ RUNTIME_FUNCTION(Runtime_StringGetLength) { ...@@ -1349,5 +1349,5 @@ RUNTIME_FUNCTION(Runtime_StringGetLength) {
CONVERT_ARG_HANDLE_CHECKED(String, s, 0); CONVERT_ARG_HANDLE_CHECKED(String, s, 0);
return Smi::FromInt(s->length()); return Smi::FromInt(s->length());
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -96,5 +96,5 @@ RUNTIME_FUNCTION(Runtime_SymbolIsPrivate) { ...@@ -96,5 +96,5 @@ RUNTIME_FUNCTION(Runtime_SymbolIsPrivate) {
CONVERT_ARG_CHECKED(Symbol, symbol, 0); CONVERT_ARG_CHECKED(Symbol, symbol, 0);
return isolate->heap()->ToBoolean(symbol->is_private()); return isolate->heap()->ToBoolean(symbol->is_private());
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -501,5 +501,5 @@ TYPED_ARRAYS(TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION) ...@@ -501,5 +501,5 @@ TYPED_ARRAYS(TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION)
TYPED_ARRAYS(FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION) TYPED_ARRAYS(FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION)
#undef FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION #undef FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -718,5 +718,5 @@ DATA_VIEW_SETTER(Float32, float) ...@@ -718,5 +718,5 @@ DATA_VIEW_SETTER(Float32, float)
DATA_VIEW_SETTER(Float64, double) DATA_VIEW_SETTER(Float64, double)
#undef DATA_VIEW_SETTER #undef DATA_VIEW_SETTER
} } // namespace internal
} // namespace v8::internal } // namespace v8
...@@ -284,5 +284,5 @@ RUNTIME_FUNCTION(Runtime_URIUnescape) { ...@@ -284,5 +284,5 @@ RUNTIME_FUNCTION(Runtime_URIUnescape) {
: URIUnescape::Unescape<uc16>(isolate, source)); : URIUnescape::Unescape<uc16>(isolate, source));
return *result; return *result;
} }
} } // namespace internal
} // namespace v8::internal } // namespace v8
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment