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 282 matching lines...) Loading... |
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) \ | 299 F(NewTypeError, 2, 1) \ |
300 F(NewSyntaxError, 2, 1) \ | 300 F(NewSyntaxError, 2, 1) \ |
301 F(NewReferenceError, 2, 1) \ | 301 F(NewReferenceError, 2, 1) \ |
302 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 302 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
| 303 F(ThrowStrongModeImplicitConversion, 0, 1) \ |
303 F(PromiseRejectEvent, 3, 1) \ | 304 F(PromiseRejectEvent, 3, 1) \ |
304 F(PromiseRevokeReject, 1, 1) \ | 305 F(PromiseRevokeReject, 1, 1) \ |
305 F(PromiseHasHandlerSymbol, 0, 1) \ | 306 F(PromiseHasHandlerSymbol, 0, 1) \ |
306 F(StackGuard, 0, 1) \ | 307 F(StackGuard, 0, 1) \ |
307 F(Interrupt, 0, 1) \ | 308 F(Interrupt, 0, 1) \ |
308 F(AllocateInNewSpace, 1, 1) \ | 309 F(AllocateInNewSpace, 1, 1) \ |
309 F(AllocateInTargetSpace, 2, 1) \ | 310 F(AllocateInTargetSpace, 2, 1) \ |
310 F(CollectStackTrace, 2, 1) \ | 311 F(CollectStackTrace, 2, 1) \ |
311 F(RenderCallSite, 0, 1) \ | 312 F(RenderCallSite, 0, 1) \ |
312 F(GetFromCacheRT, 2, 1) \ | 313 F(GetFromCacheRT, 2, 1) \ |
(...skipping 616 matching lines...) Loading... |
929 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 930 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
930 return size == 1 || size == 2 || size == 4; | 931 return size == 1 || size == 2 || size == 4; |
931 } | 932 } |
932 | 933 |
933 #endif | 934 #endif |
934 | 935 |
935 } // namespace internal | 936 } // namespace internal |
936 } // namespace v8 | 937 } // namespace v8 |
937 | 938 |
938 #endif // V8_RUNTIME_RUNTIME_H_ | 939 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |