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

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

Issue 1272673003: [es6] Re-implement rest parameters via desugaring. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Tiny bit more cleanup Created 5 years, 3 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
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/unicode.h" 10 #include "src/unicode.h"
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 F(ThrowConstAssignError, 0, 1) \ 537 F(ThrowConstAssignError, 0, 1) \
538 F(DeclareGlobals, 2, 1) \ 538 F(DeclareGlobals, 2, 1) \
539 F(InitializeVarGlobal, 3, 1) \ 539 F(InitializeVarGlobal, 3, 1) \
540 F(InitializeConstGlobal, 2, 1) \ 540 F(InitializeConstGlobal, 2, 1) \
541 F(DeclareLookupSlot, 2, 1) \ 541 F(DeclareLookupSlot, 2, 1) \
542 F(DeclareReadOnlyLookupSlot, 2, 1) \ 542 F(DeclareReadOnlyLookupSlot, 2, 1) \
543 F(InitializeLegacyConstLookupSlot, 3, 1) \ 543 F(InitializeLegacyConstLookupSlot, 3, 1) \
544 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \ 544 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \
545 F(NewSloppyArguments, 3, 1) \ 545 F(NewSloppyArguments, 3, 1) \
546 F(NewStrictArguments, 3, 1) \ 546 F(NewStrictArguments, 3, 1) \
547 F(NewRestParam, 4, 1) \
548 F(NewRestParamSlow, 2, 1) \
549 F(NewClosureFromStubFailure, 1, 1) \ 547 F(NewClosureFromStubFailure, 1, 1) \
550 F(NewClosure, 3, 1) \ 548 F(NewClosure, 3, 1) \
551 F(NewScriptContext, 2, 1) \ 549 F(NewScriptContext, 2, 1) \
552 F(NewFunctionContext, 1, 1) \ 550 F(NewFunctionContext, 1, 1) \
553 F(PushWithContext, 2, 1) \ 551 F(PushWithContext, 2, 1) \
554 F(PushCatchContext, 3, 1) \ 552 F(PushCatchContext, 3, 1) \
555 F(PushBlockContext, 2, 1) \ 553 F(PushBlockContext, 2, 1) \
556 F(IsJSModule, 1, 1) \ 554 F(IsJSModule, 1, 1) \
557 F(PushModuleContext, 2, 1) \ 555 F(PushModuleContext, 2, 1) \
558 F(DeclareModules, 1, 1) \ 556 F(DeclareModules, 1, 1) \
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 1211 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
1214 return size == 1 || size == 2 || size == 4; 1212 return size == 1 || size == 2 || size == 4;
1215 } 1213 }
1216 1214
1217 #endif 1215 #endif
1218 1216
1219 } // namespace internal 1217 } // namespace internal
1220 } // namespace v8 1218 } // namespace v8
1221 1219
1222 #endif // V8_RUNTIME_RUNTIME_H_ 1220 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698