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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 F(BreakIteratorNext, 1, 1) \ | 294 F(BreakIteratorNext, 1, 1) \ |
295 F(BreakIteratorCurrent, 1, 1) \ | 295 F(BreakIteratorCurrent, 1, 1) \ |
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) \ |
| 305 F(ImportExperimentalToRuntime, 1, 1) \ |
304 F(Throw, 1, 1) \ | 306 F(Throw, 1, 1) \ |
305 F(ReThrow, 1, 1) \ | 307 F(ReThrow, 1, 1) \ |
306 F(UnwindAndFindExceptionHandler, 0, 1) \ | 308 F(UnwindAndFindExceptionHandler, 0, 1) \ |
307 F(PromoteScheduledException, 0, 1) \ | 309 F(PromoteScheduledException, 0, 1) \ |
308 F(ThrowReferenceError, 1, 1) \ | 310 F(ThrowReferenceError, 1, 1) \ |
309 F(NewTypeError, 2, 1) \ | 311 F(NewTypeError, 2, 1) \ |
310 F(NewSyntaxError, 2, 1) \ | 312 F(NewSyntaxError, 2, 1) \ |
311 F(NewReferenceError, 2, 1) \ | 313 F(NewReferenceError, 2, 1) \ |
312 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 314 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
313 F(ThrowStrongModeImplicitConversion, 0, 1) \ | 315 F(ThrowStrongModeImplicitConversion, 0, 1) \ |
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1134 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1136 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
1135 return size == 1 || size == 2 || size == 4; | 1137 return size == 1 || size == 2 || size == 4; |
1136 } | 1138 } |
1137 | 1139 |
1138 #endif | 1140 #endif |
1139 | 1141 |
1140 } // namespace internal | 1142 } // namespace internal |
1141 } // namespace v8 | 1143 } // namespace v8 |
1142 | 1144 |
1143 #endif // V8_RUNTIME_RUNTIME_H_ | 1145 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |