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

Side by Side Diff: src/runtime.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-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 28 matching lines...) Expand all
39 #include "debug.h" 39 #include "debug.h"
40 #include "execution.h" 40 #include "execution.h"
41 #include "jsregexp.h" 41 #include "jsregexp.h"
42 #include "platform.h" 42 #include "platform.h"
43 #include "runtime.h" 43 #include "runtime.h"
44 #include "scopeinfo.h" 44 #include "scopeinfo.h"
45 #include "v8threads.h" 45 #include "v8threads.h"
46 #include "smart-pointer.h" 46 #include "smart-pointer.h"
47 #include "parser.h" 47 #include "parser.h"
48 48
49 namespace v8 { namespace internal { 49 namespace v8 {
50 namespace internal {
50 51
51 52
52 #define RUNTIME_ASSERT(value) do { \ 53 #define RUNTIME_ASSERT(value) do { \
53 if (!(value)) return IllegalOperation(); \ 54 if (!(value)) return IllegalOperation(); \
54 } while (false) 55 } while (false)
55 56
56 // Cast the given object to a value of the specified type and store 57 // Cast the given object to a value of the specified type and store
57 // it in a variable with the given name. If the object is not of the 58 // it in a variable with the given name. If the object is not of the
58 // expected type call IllegalOperation and return. 59 // expected type call IllegalOperation and return.
59 #define CONVERT_CHECKED(Type, name, obj) \ 60 #define CONVERT_CHECKED(Type, name, obj) \
(...skipping 6977 matching lines...) Expand 10 before | Expand all | Expand 10 after
7037 } else { 7038 } else {
7038 // Handle last resort GC and make sure to allow future allocations 7039 // Handle last resort GC and make sure to allow future allocations
7039 // to grow the heap without causing GCs (if possible). 7040 // to grow the heap without causing GCs (if possible).
7040 Counters::gc_last_resort_from_js.Increment(); 7041 Counters::gc_last_resort_from_js.Increment();
7041 Heap::CollectAllGarbage(); 7042 Heap::CollectAllGarbage();
7042 } 7043 }
7043 } 7044 }
7044 7045
7045 7046
7046 } } // namespace v8::internal 7047 } } // namespace v8::internal
OLDNEW
« src/accessors.h ('K') | « src/runtime.h ('k') | src/scanner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698