| 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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 #define FOR_EACH_INTRINSIC_SCOPES(F) \ | 531 #define FOR_EACH_INTRINSIC_SCOPES(F) \ |
| 532 F(ThrowConstAssignError, 0, 1) \ | 532 F(ThrowConstAssignError, 0, 1) \ |
| 533 F(DeclareGlobals, 3, 1) \ | 533 F(DeclareGlobals, 3, 1) \ |
| 534 F(InitializeVarGlobal, 3, 1) \ | 534 F(InitializeVarGlobal, 3, 1) \ |
| 535 F(InitializeConstGlobal, 2, 1) \ | 535 F(InitializeConstGlobal, 2, 1) \ |
| 536 F(DeclareLookupSlot, 4, 1) \ | 536 F(DeclareLookupSlot, 4, 1) \ |
| 537 F(InitializeLegacyConstLookupSlot, 3, 1) \ | 537 F(InitializeLegacyConstLookupSlot, 3, 1) \ |
| 538 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \ | 538 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \ |
| 539 F(NewSloppyArguments, 3, 1) \ | 539 F(NewSloppyArguments, 3, 1) \ |
| 540 F(NewStrictArguments, 3, 1) \ | 540 F(NewStrictArguments, 3, 1) \ |
| 541 F(NewRestParam, 4, 1) \ | |
| 542 F(NewRestParamSlow, 2, 1) \ | |
| 543 F(NewClosureFromStubFailure, 1, 1) \ | 541 F(NewClosureFromStubFailure, 1, 1) \ |
| 544 F(NewClosure, 3, 1) \ | 542 F(NewClosure, 3, 1) \ |
| 545 F(NewScriptContext, 2, 1) \ | 543 F(NewScriptContext, 2, 1) \ |
| 546 F(NewFunctionContext, 1, 1) \ | 544 F(NewFunctionContext, 1, 1) \ |
| 547 F(PushWithContext, 2, 1) \ | 545 F(PushWithContext, 2, 1) \ |
| 548 F(PushCatchContext, 3, 1) \ | 546 F(PushCatchContext, 3, 1) \ |
| 549 F(PushBlockContext, 2, 1) \ | 547 F(PushBlockContext, 2, 1) \ |
| 550 F(IsJSModule, 1, 1) \ | 548 F(IsJSModule, 1, 1) \ |
| 551 F(PushModuleContext, 2, 1) \ | 549 F(PushModuleContext, 2, 1) \ |
| 552 F(DeclareModules, 1, 1) \ | 550 F(DeclareModules, 1, 1) \ |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 936 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 934 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
| 937 return size == 1 || size == 2 || size == 4; | 935 return size == 1 || size == 2 || size == 4; |
| 938 } | 936 } |
| 939 | 937 |
| 940 #endif | 938 #endif |
| 941 | 939 |
| 942 } // namespace internal | 940 } // namespace internal |
| 943 } // namespace v8 | 941 } // namespace v8 |
| 944 | 942 |
| 945 #endif // V8_RUNTIME_RUNTIME_H_ | 943 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |