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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 F(BreakIteratorNext, 1, 1) \ | 295 F(BreakIteratorNext, 1, 1) \ |
296 F(BreakIteratorCurrent, 1, 1) \ | 296 F(BreakIteratorCurrent, 1, 1) \ |
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(ExportFromRuntime, 1, 1) \ |
| 306 F(ExportExperimentalFromRuntime, 1, 1) \ |
306 F(InstallToContext, 1, 1) \ | 307 F(InstallToContext, 1, 1) \ |
307 F(Throw, 1, 1) \ | 308 F(Throw, 1, 1) \ |
308 F(ReThrow, 1, 1) \ | 309 F(ReThrow, 1, 1) \ |
309 F(UnwindAndFindExceptionHandler, 0, 1) \ | 310 F(UnwindAndFindExceptionHandler, 0, 1) \ |
310 F(PromoteScheduledException, 0, 1) \ | 311 F(PromoteScheduledException, 0, 1) \ |
311 F(ThrowReferenceError, 1, 1) \ | 312 F(ThrowReferenceError, 1, 1) \ |
312 F(NewTypeError, 2, 1) \ | 313 F(NewTypeError, 2, 1) \ |
313 F(NewSyntaxError, 2, 1) \ | 314 F(NewSyntaxError, 2, 1) \ |
314 F(NewReferenceError, 2, 1) \ | 315 F(NewReferenceError, 2, 1) \ |
315 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 316 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1250 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1251 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
1251 return size == 1 || size == 2 || size == 4; | 1252 return size == 1 || size == 2 || size == 4; |
1252 } | 1253 } |
1253 | 1254 |
1254 #endif | 1255 #endif |
1255 | 1256 |
1256 } // namespace internal | 1257 } // namespace internal |
1257 } // namespace v8 | 1258 } // namespace v8 |
1258 | 1259 |
1259 #endif // V8_RUNTIME_RUNTIME_H_ | 1260 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |