| 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/zone.h" | 10 #include "src/zone.h" |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 F(BreakIteratorBreakType, 1, 1) | 296 F(BreakIteratorBreakType, 1, 1) |
| 297 #else | 297 #else |
| 298 #define FOR_EACH_INTRINSIC_I18N(F) | 298 #define FOR_EACH_INTRINSIC_I18N(F) |
| 299 #endif | 299 #endif |
| 300 | 300 |
| 301 | 301 |
| 302 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ | 302 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ |
| 303 F(CheckIsBootstrapping, 0, 1) \ | 303 F(CheckIsBootstrapping, 0, 1) \ |
| 304 F(ImportToRuntime, 1, 1) \ | 304 F(ImportToRuntime, 1, 1) \ |
| 305 F(ImportExperimentalToRuntime, 1, 1) \ | 305 F(ImportExperimentalToRuntime, 1, 1) \ |
| 306 F(InstallFunctionsFromArray, 3, 1) \ |
| 306 F(Throw, 1, 1) \ | 307 F(Throw, 1, 1) \ |
| 307 F(ReThrow, 1, 1) \ | 308 F(ReThrow, 1, 1) \ |
| 308 F(UnwindAndFindExceptionHandler, 0, 1) \ | 309 F(UnwindAndFindExceptionHandler, 0, 1) \ |
| 309 F(PromoteScheduledException, 0, 1) \ | 310 F(PromoteScheduledException, 0, 1) \ |
| 310 F(ThrowReferenceError, 1, 1) \ | 311 F(ThrowReferenceError, 1, 1) \ |
| 311 F(NewTypeError, 2, 1) \ | 312 F(NewTypeError, 2, 1) \ |
| 312 F(NewSyntaxError, 2, 1) \ | 313 F(NewSyntaxError, 2, 1) \ |
| 313 F(NewReferenceError, 2, 1) \ | 314 F(NewReferenceError, 2, 1) \ |
| 314 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 315 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
| 315 F(ThrowStrongModeImplicitConversion, 0, 1) \ | 316 F(ThrowStrongModeImplicitConversion, 0, 1) \ |
| (...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1137 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1138 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
| 1138 return size == 1 || size == 2 || size == 4; | 1139 return size == 1 || size == 2 || size == 4; |
| 1139 } | 1140 } |
| 1140 | 1141 |
| 1141 #endif | 1142 #endif |
| 1142 | 1143 |
| 1143 } // namespace internal | 1144 } // namespace internal |
| 1144 } // namespace v8 | 1145 } // namespace v8 |
| 1145 | 1146 |
| 1146 #endif // V8_RUNTIME_RUNTIME_H_ | 1147 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |