Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: src/execution.cc

Issue 115756: Split nested namespaces declaration in two lines in accordance with C++ Style Guide. (Closed)
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 25 matching lines...) Expand all
36 #include "ia32/simulator-ia32.h" 36 #include "ia32/simulator-ia32.h"
37 #elif V8_TARGET_ARCH_X64 37 #elif V8_TARGET_ARCH_X64
38 #include "x64/simulator-x64.h" 38 #include "x64/simulator-x64.h"
39 #elif V8_TARGET_ARCH_ARM 39 #elif V8_TARGET_ARCH_ARM
40 #include "arm/simulator-arm.h" 40 #include "arm/simulator-arm.h"
41 #endif 41 #endif
42 42
43 #include "debug.h" 43 #include "debug.h"
44 #include "v8threads.h" 44 #include "v8threads.h"
45 45
46 namespace v8 { namespace internal { 46 namespace v8 {
47 namespace internal {
47 48
48 49
49 static Handle<Object> Invoke(bool construct, 50 static Handle<Object> Invoke(bool construct,
50 Handle<JSFunction> func, 51 Handle<JSFunction> func,
51 Handle<Object> receiver, 52 Handle<Object> receiver,
52 int argc, 53 int argc,
53 Object*** args, 54 Object*** args,
54 bool* has_pending_exception) { 55 bool* has_pending_exception) {
55 // Make sure we have a real function, not a boilerplate function. 56 // Make sure we have a real function, not a boilerplate function.
56 ASSERT(!func->IsBoilerplate()); 57 ASSERT(!func->IsBoilerplate());
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 // All allocation spaces other than NEW_SPACE have the same effect. 659 // All allocation spaces other than NEW_SPACE have the same effect.
659 Heap::CollectAllGarbage(); 660 Heap::CollectAllGarbage();
660 return v8::Undefined(); 661 return v8::Undefined();
661 } 662 }
662 663
663 664
664 static GCExtension kGCExtension; 665 static GCExtension kGCExtension;
665 v8::DeclareExtension kGCExtensionDeclaration(&kGCExtension); 666 v8::DeclareExtension kGCExtensionDeclaration(&kGCExtension);
666 667
667 } } // namespace v8::internal 668 } } // namespace v8::internal
OLDNEW
« src/accessors.h ('K') | « src/execution.h ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698