| 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 F(ThrowStrongModeImplicitConversion, 0, 1) \ | 314 F(ThrowStrongModeImplicitConversion, 0, 1) \ |
| 315 F(PromiseRejectEvent, 3, 1) \ | 315 F(PromiseRejectEvent, 3, 1) \ |
| 316 F(PromiseRevokeReject, 1, 1) \ | 316 F(PromiseRevokeReject, 1, 1) \ |
| 317 F(PromiseHasHandlerSymbol, 0, 1) \ | 317 F(PromiseHasHandlerSymbol, 0, 1) \ |
| 318 F(StackGuard, 0, 1) \ | 318 F(StackGuard, 0, 1) \ |
| 319 F(Interrupt, 0, 1) \ | 319 F(Interrupt, 0, 1) \ |
| 320 F(AllocateInNewSpace, 1, 1) \ | 320 F(AllocateInNewSpace, 1, 1) \ |
| 321 F(AllocateInTargetSpace, 2, 1) \ | 321 F(AllocateInTargetSpace, 2, 1) \ |
| 322 F(CollectStackTrace, 2, 1) \ | 322 F(CollectStackTrace, 2, 1) \ |
| 323 F(RenderCallSite, 0, 1) \ | 323 F(RenderCallSite, 0, 1) \ |
| 324 F(GetFromCacheRT, 2, 1) \ | |
| 325 F(MessageGetStartPosition, 1, 1) \ | 324 F(MessageGetStartPosition, 1, 1) \ |
| 326 F(MessageGetScript, 1, 1) \ | 325 F(MessageGetScript, 1, 1) \ |
| 327 F(FormatMessageString, 4, 1) \ | 326 F(FormatMessageString, 4, 1) \ |
| 328 F(CallSiteGetFileNameRT, 3, 1) \ | 327 F(CallSiteGetFileNameRT, 3, 1) \ |
| 329 F(CallSiteGetFunctionNameRT, 3, 1) \ | 328 F(CallSiteGetFunctionNameRT, 3, 1) \ |
| 330 F(CallSiteGetScriptNameOrSourceUrlRT, 3, 1) \ | 329 F(CallSiteGetScriptNameOrSourceUrlRT, 3, 1) \ |
| 331 F(CallSiteGetMethodNameRT, 3, 1) \ | 330 F(CallSiteGetMethodNameRT, 3, 1) \ |
| 332 F(CallSiteGetLineNumberRT, 3, 1) \ | 331 F(CallSiteGetLineNumberRT, 3, 1) \ |
| 333 F(CallSiteGetColumnNumberRT, 3, 1) \ | 332 F(CallSiteGetColumnNumberRT, 3, 1) \ |
| 334 F(CallSiteIsNativeRT, 3, 1) \ | 333 F(CallSiteIsNativeRT, 3, 1) \ |
| 335 F(CallSiteIsToplevelRT, 3, 1) \ | 334 F(CallSiteIsToplevelRT, 3, 1) \ |
| 336 F(CallSiteIsEvalRT, 3, 1) \ | 335 F(CallSiteIsEvalRT, 3, 1) \ |
| 337 F(CallSiteIsConstructorRT, 3, 1) \ | 336 F(CallSiteIsConstructorRT, 3, 1) \ |
| 338 F(IS_VAR, 1, 1) \ | 337 F(IS_VAR, 1, 1) \ |
| 339 F(GetFromCache, 2, 1) \ | |
| 340 F(IncrementStatsCounter, 1, 1) \ | 338 F(IncrementStatsCounter, 1, 1) \ |
| 341 F(Likely, 1, 1) \ | 339 F(Likely, 1, 1) \ |
| 342 F(Unlikely, 1, 1) \ | 340 F(Unlikely, 1, 1) \ |
| 343 F(HarmonyToString, 0, 1) \ | 341 F(HarmonyToString, 0, 1) \ |
| 344 F(GetTypeFeedbackVector, 1, 1) \ | 342 F(GetTypeFeedbackVector, 1, 1) \ |
| 345 F(GetCallerJSFunction, 0, 1) \ | 343 F(GetCallerJSFunction, 0, 1) \ |
| 346 F(GetCodeStubExportsObject, 0, 1) | 344 F(GetCodeStubExportsObject, 0, 1) |
| 347 | 345 |
| 348 | 346 |
| 349 #define FOR_EACH_INTRINSIC_JSON(F) \ | 347 #define FOR_EACH_INTRINSIC_JSON(F) \ |
| (...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1013 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1011 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
| 1014 return size == 1 || size == 2 || size == 4; | 1012 return size == 1 || size == 2 || size == 4; |
| 1015 } | 1013 } |
| 1016 | 1014 |
| 1017 #endif | 1015 #endif |
| 1018 | 1016 |
| 1019 } // namespace internal | 1017 } // namespace internal |
| 1020 } // namespace v8 | 1018 } // namespace v8 |
| 1021 | 1019 |
| 1022 #endif // V8_RUNTIME_RUNTIME_H_ | 1020 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |