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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 F(PromiseRevokeReject, 1, 1) \ | 315 F(PromiseRevokeReject, 1, 1) \ |
316 F(PromiseHasHandlerSymbol, 0, 1) \ | 316 F(PromiseHasHandlerSymbol, 0, 1) \ |
317 F(StackGuard, 0, 1) \ | 317 F(StackGuard, 0, 1) \ |
318 F(Interrupt, 0, 1) \ | 318 F(Interrupt, 0, 1) \ |
319 F(AllocateInNewSpace, 1, 1) \ | 319 F(AllocateInNewSpace, 1, 1) \ |
320 F(AllocateInTargetSpace, 2, 1) \ | 320 F(AllocateInTargetSpace, 2, 1) \ |
321 F(CollectStackTrace, 2, 1) \ | 321 F(CollectStackTrace, 2, 1) \ |
322 F(RenderCallSite, 0, 1) \ | 322 F(RenderCallSite, 0, 1) \ |
323 F(MessageGetStartPosition, 1, 1) \ | 323 F(MessageGetStartPosition, 1, 1) \ |
324 F(MessageGetScript, 1, 1) \ | 324 F(MessageGetScript, 1, 1) \ |
| 325 F(ErrorToStringRT, 1, 1) \ |
325 F(FormatMessageString, 4, 1) \ | 326 F(FormatMessageString, 4, 1) \ |
326 F(CallSiteGetFileNameRT, 3, 1) \ | 327 F(CallSiteGetFileNameRT, 3, 1) \ |
327 F(CallSiteGetFunctionNameRT, 3, 1) \ | 328 F(CallSiteGetFunctionNameRT, 3, 1) \ |
328 F(CallSiteGetScriptNameOrSourceUrlRT, 3, 1) \ | 329 F(CallSiteGetScriptNameOrSourceUrlRT, 3, 1) \ |
329 F(CallSiteGetMethodNameRT, 3, 1) \ | 330 F(CallSiteGetMethodNameRT, 3, 1) \ |
330 F(CallSiteGetLineNumberRT, 3, 1) \ | 331 F(CallSiteGetLineNumberRT, 3, 1) \ |
331 F(CallSiteGetColumnNumberRT, 3, 1) \ | 332 F(CallSiteGetColumnNumberRT, 3, 1) \ |
332 F(CallSiteIsNativeRT, 3, 1) \ | 333 F(CallSiteIsNativeRT, 3, 1) \ |
333 F(CallSiteIsToplevelRT, 3, 1) \ | 334 F(CallSiteIsToplevelRT, 3, 1) \ |
334 F(CallSiteIsEvalRT, 3, 1) \ | 335 F(CallSiteIsEvalRT, 3, 1) \ |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1001 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1002 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
1002 return size == 1 || size == 2 || size == 4; | 1003 return size == 1 || size == 2 || size == 4; |
1003 } | 1004 } |
1004 | 1005 |
1005 #endif | 1006 #endif |
1006 | 1007 |
1007 } // namespace internal | 1008 } // namespace internal |
1008 } // namespace v8 | 1009 } // namespace v8 |
1009 | 1010 |
1010 #endif // V8_RUNTIME_RUNTIME_H_ | 1011 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |