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/unicode.h" | 10 #include "src/unicode.h" |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 F(ThrowConstAssignError, 0, 1) \ | 544 F(ThrowConstAssignError, 0, 1) \ |
545 F(DeclareGlobals, 2, 1) \ | 545 F(DeclareGlobals, 2, 1) \ |
546 F(InitializeVarGlobal, 3, 1) \ | 546 F(InitializeVarGlobal, 3, 1) \ |
547 F(InitializeConstGlobal, 2, 1) \ | 547 F(InitializeConstGlobal, 2, 1) \ |
548 F(DeclareLookupSlot, 2, 1) \ | 548 F(DeclareLookupSlot, 2, 1) \ |
549 F(DeclareReadOnlyLookupSlot, 2, 1) \ | 549 F(DeclareReadOnlyLookupSlot, 2, 1) \ |
550 F(InitializeLegacyConstLookupSlot, 3, 1) \ | 550 F(InitializeLegacyConstLookupSlot, 3, 1) \ |
551 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \ | 551 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \ |
552 F(NewSloppyArguments, 3, 1) \ | 552 F(NewSloppyArguments, 3, 1) \ |
553 F(NewStrictArguments, 3, 1) \ | 553 F(NewStrictArguments, 3, 1) \ |
554 F(NewRestParam, 4, 1) \ | |
555 F(NewRestParamSlow, 2, 1) \ | |
556 F(NewClosureFromStubFailure, 1, 1) \ | 554 F(NewClosureFromStubFailure, 1, 1) \ |
557 F(NewClosure, 3, 1) \ | 555 F(NewClosure, 3, 1) \ |
558 F(NewScriptContext, 2, 1) \ | 556 F(NewScriptContext, 2, 1) \ |
559 F(NewFunctionContext, 1, 1) \ | 557 F(NewFunctionContext, 1, 1) \ |
560 F(PushWithContext, 2, 1) \ | 558 F(PushWithContext, 2, 1) \ |
561 F(PushCatchContext, 3, 1) \ | 559 F(PushCatchContext, 3, 1) \ |
562 F(PushBlockContext, 2, 1) \ | 560 F(PushBlockContext, 2, 1) \ |
563 F(IsJSModule, 1, 1) \ | 561 F(IsJSModule, 1, 1) \ |
564 F(PushModuleContext, 2, 1) \ | 562 F(PushModuleContext, 2, 1) \ |
565 F(DeclareModules, 1, 1) \ | 563 F(DeclareModules, 1, 1) \ |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1252 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1250 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
1253 return size == 1 || size == 2 || size == 4; | 1251 return size == 1 || size == 2 || size == 4; |
1254 } | 1252 } |
1255 | 1253 |
1256 #endif | 1254 #endif |
1257 | 1255 |
1258 } // namespace internal | 1256 } // namespace internal |
1259 } // namespace v8 | 1257 } // namespace v8 |
1260 | 1258 |
1261 #endif // V8_RUNTIME_RUNTIME_H_ | 1259 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |