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

Side by Side Diff: src/runtime/runtime.h

Issue 1316943002: Move (uppercase) JS builtins from js builtins object to native context. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove Isolate::js_builtins_object Created 5 years, 3 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
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/unicode.h" 10 #include "src/unicode.h"
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 F(BreakIteratorBreakType, 1, 1) 297 F(BreakIteratorBreakType, 1, 1)
298 #else 298 #else
299 #define FOR_EACH_INTRINSIC_I18N(F) 299 #define FOR_EACH_INTRINSIC_I18N(F)
300 #endif 300 #endif
301 301
302 302
303 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ 303 #define FOR_EACH_INTRINSIC_INTERNAL(F) \
304 F(CheckIsBootstrapping, 0, 1) \ 304 F(CheckIsBootstrapping, 0, 1) \
305 F(ExportPrivateSymbols, 1, 1) \ 305 F(ExportPrivateSymbols, 1, 1) \
306 F(InstallToContext, 1, 1) \ 306 F(InstallToContext, 1, 1) \
307 F(InstallJSBuiltins, 1, 1) \
308 F(Throw, 1, 1) \ 307 F(Throw, 1, 1) \
309 F(ReThrow, 1, 1) \ 308 F(ReThrow, 1, 1) \
310 F(UnwindAndFindExceptionHandler, 0, 1) \ 309 F(UnwindAndFindExceptionHandler, 0, 1) \
311 F(PromoteScheduledException, 0, 1) \ 310 F(PromoteScheduledException, 0, 1) \
312 F(ThrowReferenceError, 1, 1) \ 311 F(ThrowReferenceError, 1, 1) \
313 F(NewTypeError, 2, 1) \ 312 F(NewTypeError, 2, 1) \
314 F(NewSyntaxError, 2, 1) \ 313 F(NewSyntaxError, 2, 1) \
315 F(NewReferenceError, 2, 1) \ 314 F(NewReferenceError, 2, 1) \
316 F(ThrowIteratorResultNotAnObject, 1, 1) \ 315 F(ThrowIteratorResultNotAnObject, 1, 1) \
317 F(ThrowStrongModeImplicitConversion, 0, 1) \ 316 F(ThrowStrongModeImplicitConversion, 0, 1) \
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
1217 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 1216 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
1218 return size == 1 || size == 2 || size == 4; 1217 return size == 1 || size == 2 || size == 4;
1219 } 1218 }
1220 1219
1221 #endif 1220 #endif
1222 1221
1223 } // namespace internal 1222 } // namespace internal
1224 } // namespace v8 1223 } // namespace v8
1225 1224
1226 #endif // V8_RUNTIME_RUNTIME_H_ 1225 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698