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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 F(CallSiteIsNativeRT, 3, 1) \ | 318 F(CallSiteIsNativeRT, 3, 1) \ |
319 F(CallSiteIsToplevelRT, 3, 1) \ | 319 F(CallSiteIsToplevelRT, 3, 1) \ |
320 F(CallSiteIsEvalRT, 3, 1) \ | 320 F(CallSiteIsEvalRT, 3, 1) \ |
321 F(CallSiteIsConstructorRT, 3, 1) \ | 321 F(CallSiteIsConstructorRT, 3, 1) \ |
322 F(IS_VAR, 1, 1) \ | 322 F(IS_VAR, 1, 1) \ |
323 F(GetFromCache, 2, 1) \ | 323 F(GetFromCache, 2, 1) \ |
324 F(IncrementStatsCounter, 1, 1) \ | 324 F(IncrementStatsCounter, 1, 1) \ |
325 F(Likely, 1, 1) \ | 325 F(Likely, 1, 1) \ |
326 F(Unlikely, 1, 1) \ | 326 F(Unlikely, 1, 1) \ |
327 F(HarmonyToString, 0, 1) \ | 327 F(HarmonyToString, 0, 1) \ |
328 F(GetTypeFeedbackVector, 1, 1) | 328 F(GetTypeFeedbackVector, 1, 1) \ |
| 329 F(GetCallerJSFunction, 0, 1) |
329 | 330 |
330 | 331 |
331 #define FOR_EACH_INTRINSIC_JSON(F) \ | 332 #define FOR_EACH_INTRINSIC_JSON(F) \ |
332 F(QuoteJSONString, 1, 1) \ | 333 F(QuoteJSONString, 1, 1) \ |
333 F(BasicJSONStringify, 1, 1) \ | 334 F(BasicJSONStringify, 1, 1) \ |
334 F(ParseJson, 1, 1) | 335 F(ParseJson, 1, 1) |
335 | 336 |
336 | 337 |
337 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 338 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
338 F(CreateObjectLiteral, 4, 1) \ | 339 F(CreateObjectLiteral, 4, 1) \ |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 929 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
929 return size == 1 || size == 2 || size == 4; | 930 return size == 1 || size == 2 || size == 4; |
930 } | 931 } |
931 | 932 |
932 #endif | 933 #endif |
933 | 934 |
934 } // namespace internal | 935 } // namespace internal |
935 } // namespace v8 | 936 } // namespace v8 |
936 | 937 |
937 #endif // V8_RUNTIME_RUNTIME_H_ | 938 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |