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

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

Issue 1676883002: [runtime] Optimize and unify rest parameters. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 541
542 #define FOR_EACH_INTRINSIC_SCOPES(F) \ 542 #define FOR_EACH_INTRINSIC_SCOPES(F) \
543 F(ThrowConstAssignError, 0, 1) \ 543 F(ThrowConstAssignError, 0, 1) \
544 F(DeclareGlobals, 2, 1) \ 544 F(DeclareGlobals, 2, 1) \
545 F(InitializeVarGlobal, 3, 1) \ 545 F(InitializeVarGlobal, 3, 1) \
546 F(InitializeConstGlobal, 2, 1) \ 546 F(InitializeConstGlobal, 2, 1) \
547 F(DeclareLookupSlot, 3, 1) \ 547 F(DeclareLookupSlot, 3, 1) \
548 F(InitializeLegacyConstLookupSlot, 3, 1) \ 548 F(InitializeLegacyConstLookupSlot, 3, 1) \
549 F(NewSloppyArguments_Generic, 1, 1) \ 549 F(NewSloppyArguments_Generic, 1, 1) \
550 F(NewStrictArguments_Generic, 1, 1) \ 550 F(NewStrictArguments_Generic, 1, 1) \
551 F(NewRestArguments_Generic, 2, 1) \ 551 F(NewRestParameter, 1, 1) \
552 F(NewSloppyArguments, 3, 1) \ 552 F(NewSloppyArguments, 3, 1) \
553 F(NewStrictArguments, 3, 1) \ 553 F(NewStrictArguments, 3, 1) \
554 F(NewRestParam, 3, 1) \
555 F(NewClosure, 1, 1) \ 554 F(NewClosure, 1, 1) \
556 F(NewClosure_Tenured, 1, 1) \ 555 F(NewClosure_Tenured, 1, 1) \
557 F(NewScriptContext, 2, 1) \ 556 F(NewScriptContext, 2, 1) \
558 F(NewFunctionContext, 1, 1) \ 557 F(NewFunctionContext, 1, 1) \
559 F(PushWithContext, 2, 1) \ 558 F(PushWithContext, 2, 1) \
560 F(PushCatchContext, 3, 1) \ 559 F(PushCatchContext, 3, 1) \
561 F(PushBlockContext, 2, 1) \ 560 F(PushBlockContext, 2, 1) \
562 F(IsJSModule, 1, 1) \ 561 F(IsJSModule, 1, 1) \
563 F(PushModuleContext, 2, 1) \ 562 F(PushModuleContext, 2, 1) \
564 F(DeclareModules, 1, 1) \ 563 F(DeclareModules, 1, 1) \
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 1254
1256 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1255 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1257 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1256 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1258 STATIC_ASSERT(LANGUAGE_END == 3); 1257 STATIC_ASSERT(LANGUAGE_END == 3);
1259 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1258 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1260 1259
1261 } // namespace internal 1260 } // namespace internal
1262 } // namespace v8 1261 } // namespace v8
1263 1262
1264 #endif // V8_RUNTIME_RUNTIME_H_ 1263 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698