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

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

Issue 1261863002: [runtime] DeclareGlobals and DeclareLookupSlot don't need context parameters. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix x64 typo. Created 5 years, 4 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/ppc/lithium-codegen-ppc.cc ('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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 F(RegExpConstructResult, 3, 1) \ 531 F(RegExpConstructResult, 3, 1) \
532 F(RegExpInitializeAndCompile, 3, 1) \ 532 F(RegExpInitializeAndCompile, 3, 1) \
533 F(MaterializeRegExpLiteral, 4, 1) \ 533 F(MaterializeRegExpLiteral, 4, 1) \
534 F(RegExpExecMultiple, 4, 1) \ 534 F(RegExpExecMultiple, 4, 1) \
535 F(RegExpExecReThrow, 4, 1) \ 535 F(RegExpExecReThrow, 4, 1) \
536 F(IsRegExp, 1, 1) 536 F(IsRegExp, 1, 1)
537 537
538 538
539 #define FOR_EACH_INTRINSIC_SCOPES(F) \ 539 #define FOR_EACH_INTRINSIC_SCOPES(F) \
540 F(ThrowConstAssignError, 0, 1) \ 540 F(ThrowConstAssignError, 0, 1) \
541 F(DeclareGlobals, 3, 1) \ 541 F(DeclareGlobals, 2, 1) \
542 F(InitializeVarGlobal, 3, 1) \ 542 F(InitializeVarGlobal, 3, 1) \
543 F(InitializeConstGlobal, 2, 1) \ 543 F(InitializeConstGlobal, 2, 1) \
544 F(DeclareLookupSlot, 4, 1) \ 544 F(DeclareLookupSlot, 2, 1) \
545 F(DeclareReadOnlyLookupSlot, 2, 1) \
545 F(InitializeLegacyConstLookupSlot, 3, 1) \ 546 F(InitializeLegacyConstLookupSlot, 3, 1) \
546 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \ 547 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \
547 F(NewSloppyArguments, 3, 1) \ 548 F(NewSloppyArguments, 3, 1) \
548 F(NewStrictArguments, 3, 1) \ 549 F(NewStrictArguments, 3, 1) \
549 F(NewRestParam, 4, 1) \ 550 F(NewRestParam, 4, 1) \
550 F(NewRestParamSlow, 2, 1) \ 551 F(NewRestParamSlow, 2, 1) \
551 F(NewClosureFromStubFailure, 1, 1) \ 552 F(NewClosureFromStubFailure, 1, 1) \
552 F(NewClosure, 3, 1) \ 553 F(NewClosure, 3, 1) \
553 F(NewScriptContext, 2, 1) \ 554 F(NewScriptContext, 2, 1) \
554 F(NewFunctionContext, 1, 1) \ 555 F(NewFunctionContext, 1, 1) \
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 983 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
983 return size == 1 || size == 2 || size == 4; 984 return size == 1 || size == 2 || size == 4;
984 } 985 }
985 986
986 #endif 987 #endif
987 988
988 } // namespace internal 989 } // namespace internal
989 } // namespace v8 990 } // namespace v8
990 991
991 #endif // V8_RUNTIME_RUNTIME_H_ 992 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ppc/lithium-codegen-ppc.cc ('k') | src/runtime/runtime-scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698