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

Side by Side Diff: src/compiler/linkage.cc

Issue 1963973003: [runtime] Deprecate Runtime_FinalizeClassDefinition entry. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-enable-eval
Patch Set: Created 4 years, 7 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/compiler/ast-graph-builder.cc ('k') | src/full-codegen/full-codegen.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/ast/scopes.h" 5 #include "src/ast/scopes.h"
6 #include "src/code-stubs.h" 6 #include "src/code-stubs.h"
7 #include "src/compiler.h" 7 #include "src/compiler.h"
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/frame.h" 9 #include "src/compiler/frame.h"
10 #include "src/compiler/linkage.h" 10 #include "src/compiler/linkage.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 int Linkage::FrameStateInputCount(Runtime::FunctionId function) { 134 int Linkage::FrameStateInputCount(Runtime::FunctionId function) {
135 // Most runtime functions need a FrameState. A few chosen ones that we know 135 // Most runtime functions need a FrameState. A few chosen ones that we know
136 // not to call into arbitrary JavaScript, not to throw, and not to deoptimize 136 // not to call into arbitrary JavaScript, not to throw, and not to deoptimize
137 // are blacklisted here and can be called without a FrameState. 137 // are blacklisted here and can be called without a FrameState.
138 switch (function) { 138 switch (function) {
139 case Runtime::kAllocateInTargetSpace: 139 case Runtime::kAllocateInTargetSpace:
140 case Runtime::kCreateIterResultObject: 140 case Runtime::kCreateIterResultObject:
141 case Runtime::kDefineDataPropertyInLiteral: 141 case Runtime::kDefineDataPropertyInLiteral:
142 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? 142 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe?
143 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? 143 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe?
144 case Runtime::kFinalizeClassDefinition: // TODO(conradw): Is it safe?
145 case Runtime::kForInDone: 144 case Runtime::kForInDone:
146 case Runtime::kForInStep: 145 case Runtime::kForInStep:
147 case Runtime::kGetSuperConstructor: 146 case Runtime::kGetSuperConstructor:
148 case Runtime::kIsFunction: 147 case Runtime::kIsFunction:
149 case Runtime::kNewClosure: 148 case Runtime::kNewClosure:
150 case Runtime::kNewClosure_Tenured: 149 case Runtime::kNewClosure_Tenured:
151 case Runtime::kNewFunctionContext: 150 case Runtime::kNewFunctionContext:
152 case Runtime::kPushBlockContext: 151 case Runtime::kPushBlockContext:
153 case Runtime::kPushCatchContext: 152 case Runtime::kPushCatchContext:
154 case Runtime::kReThrow: 153 case Runtime::kReThrow:
155 case Runtime::kStringCompare: 154 case Runtime::kStringCompare:
156 case Runtime::kStringEqual: 155 case Runtime::kStringEqual:
157 case Runtime::kStringNotEqual: 156 case Runtime::kStringNotEqual:
158 case Runtime::kStringLessThan: 157 case Runtime::kStringLessThan:
159 case Runtime::kStringLessThanOrEqual: 158 case Runtime::kStringLessThanOrEqual:
160 case Runtime::kStringGreaterThan: 159 case Runtime::kStringGreaterThan:
161 case Runtime::kStringGreaterThanOrEqual: 160 case Runtime::kStringGreaterThanOrEqual:
161 case Runtime::kToFastProperties: // TODO(conradw): Is it safe?
162 case Runtime::kTraceEnter: 162 case Runtime::kTraceEnter:
163 case Runtime::kTraceExit: 163 case Runtime::kTraceExit:
164 return 0; 164 return 0;
165 case Runtime::kInlineGetPrototype: 165 case Runtime::kInlineGetPrototype:
166 case Runtime::kInlineNewObject: 166 case Runtime::kInlineNewObject:
167 case Runtime::kInlineRegExpConstructResult: 167 case Runtime::kInlineRegExpConstructResult:
168 case Runtime::kInlineRegExpExec: 168 case Runtime::kInlineRegExpExec:
169 case Runtime::kInlineSubString: 169 case Runtime::kInlineSubString:
170 case Runtime::kInlineToInteger: 170 case Runtime::kInlineToInteger:
171 case Runtime::kInlineToLength: 171 case Runtime::kInlineToLength:
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 } else { 517 } else {
518 DCHECK(loc == regloc(kContextRegister)); 518 DCHECK(loc == regloc(kContextRegister));
519 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); 519 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot);
520 } 520 }
521 } 521 }
522 522
523 523
524 } // namespace compiler 524 } // namespace compiler
525 } // namespace internal 525 } // namespace internal
526 } // namespace v8 526 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698