| OLD | NEW |
| 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 Loading... |
| 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 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1231 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1230 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
| 1232 return size == 1 || size == 2 || size == 4; | 1231 return size == 1 || size == 2 || size == 4; |
| 1233 } | 1232 } |
| 1234 | 1233 |
| 1235 #endif | 1234 #endif |
| 1236 | 1235 |
| 1237 } // namespace internal | 1236 } // namespace internal |
| 1238 } // namespace v8 | 1237 } // namespace v8 |
| 1239 | 1238 |
| 1240 #endif // V8_RUNTIME_RUNTIME_H_ | 1239 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |