Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: src/runtime/runtime.h

Issue 1235153006: [es6] re-implement rest parameters via desugaring (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Refactor Scope::TempScope Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-scopes.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 #define FOR_EACH_INTRINSIC_SCOPES(F) \ 530 #define FOR_EACH_INTRINSIC_SCOPES(F) \
531 F(ThrowConstAssignError, 0, 1) \ 531 F(ThrowConstAssignError, 0, 1) \
532 F(DeclareGlobals, 3, 1) \ 532 F(DeclareGlobals, 3, 1) \
533 F(InitializeVarGlobal, 3, 1) \ 533 F(InitializeVarGlobal, 3, 1) \
534 F(InitializeConstGlobal, 2, 1) \ 534 F(InitializeConstGlobal, 2, 1) \
535 F(DeclareLookupSlot, 4, 1) \ 535 F(DeclareLookupSlot, 4, 1) \
536 F(InitializeLegacyConstLookupSlot, 3, 1) \ 536 F(InitializeLegacyConstLookupSlot, 3, 1) \
537 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \ 537 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \
538 F(NewSloppyArguments, 3, 1) \ 538 F(NewSloppyArguments, 3, 1) \
539 F(NewStrictArguments, 3, 1) \ 539 F(NewStrictArguments, 3, 1) \
540 F(NewRestParam, 4, 1) \
541 F(NewRestParamSlow, 2, 1) \
542 F(NewClosureFromStubFailure, 1, 1) \ 540 F(NewClosureFromStubFailure, 1, 1) \
543 F(NewClosure, 3, 1) \ 541 F(NewClosure, 3, 1) \
544 F(NewScriptContext, 2, 1) \ 542 F(NewScriptContext, 2, 1) \
545 F(NewFunctionContext, 1, 1) \ 543 F(NewFunctionContext, 1, 1) \
546 F(PushWithContext, 2, 1) \ 544 F(PushWithContext, 2, 1) \
547 F(PushCatchContext, 3, 1) \ 545 F(PushCatchContext, 3, 1) \
548 F(PushBlockContext, 2, 1) \ 546 F(PushBlockContext, 2, 1) \
549 F(IsJSModule, 1, 1) \ 547 F(IsJSModule, 1, 1) \
550 F(PushModuleContext, 2, 1) \ 548 F(PushModuleContext, 2, 1) \
551 F(DeclareModules, 1, 1) \ 549 F(DeclareModules, 1, 1) \
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
946 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 944 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
947 return size == 1 || size == 2 || size == 4; 945 return size == 1 || size == 2 || size == 4;
948 } 946 }
949 947
950 #endif 948 #endif
951 949
952 } // namespace internal 950 } // namespace internal
953 } // namespace v8 951 } // namespace v8
954 952
955 #endif // V8_RUNTIME_RUNTIME_H_ 953 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698