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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 #endif | 289 #endif |
290 | 290 |
291 | 291 |
292 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ | 292 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ |
293 F(CheckIsBootstrapping, 0, 1) \ | 293 F(CheckIsBootstrapping, 0, 1) \ |
294 F(Throw, 1, 1) \ | 294 F(Throw, 1, 1) \ |
295 F(ReThrow, 1, 1) \ | 295 F(ReThrow, 1, 1) \ |
296 F(UnwindAndFindExceptionHandler, 0, 1) \ | 296 F(UnwindAndFindExceptionHandler, 0, 1) \ |
297 F(PromoteScheduledException, 0, 1) \ | 297 F(PromoteScheduledException, 0, 1) \ |
298 F(ThrowReferenceError, 1, 1) \ | 298 F(ThrowReferenceError, 1, 1) \ |
| 299 F(NewTypeError, 2, 1) \ |
| 300 F(NewSyntaxError, 2, 1) \ |
| 301 F(NewReferenceError, 2, 1) \ |
299 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 302 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
300 F(PromiseRejectEvent, 3, 1) \ | 303 F(PromiseRejectEvent, 3, 1) \ |
301 F(PromiseRevokeReject, 1, 1) \ | 304 F(PromiseRevokeReject, 1, 1) \ |
302 F(PromiseHasHandlerSymbol, 0, 1) \ | 305 F(PromiseHasHandlerSymbol, 0, 1) \ |
303 F(StackGuard, 0, 1) \ | 306 F(StackGuard, 0, 1) \ |
304 F(Interrupt, 0, 1) \ | 307 F(Interrupt, 0, 1) \ |
305 F(AllocateInNewSpace, 1, 1) \ | 308 F(AllocateInNewSpace, 1, 1) \ |
306 F(AllocateInTargetSpace, 2, 1) \ | 309 F(AllocateInTargetSpace, 2, 1) \ |
307 F(CollectStackTrace, 2, 1) \ | 310 F(CollectStackTrace, 2, 1) \ |
308 F(RenderCallSite, 0, 1) \ | 311 F(RenderCallSite, 0, 1) \ |
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 929 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
927 return size == 1 || size == 2 || size == 4; | 930 return size == 1 || size == 2 || size == 4; |
928 } | 931 } |
929 | 932 |
930 #endif | 933 #endif |
931 | 934 |
932 } // namespace internal | 935 } // namespace internal |
933 } // namespace v8 | 936 } // namespace v8 |
934 | 937 |
935 #endif // V8_RUNTIME_RUNTIME_H_ | 938 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |