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/compiler/linkage.cc

Issue 1270393002: [strong] Refactor out separate strong runtime call for class objects (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cl feedback 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/compiler/ast-graph-builder.cc ('k') | src/full-codegen/arm/full-codegen-arm.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/code-stubs.h" 5 #include "src/code-stubs.h"
6 #include "src/compiler.h" 6 #include "src/compiler.h"
7 #include "src/compiler/common-operator.h" 7 #include "src/compiler/common-operator.h"
8 #include "src/compiler/linkage.h" 8 #include "src/compiler/linkage.h"
9 #include "src/compiler/node.h" 9 #include "src/compiler/node.h"
10 #include "src/compiler/pipeline.h" 10 #include "src/compiler/pipeline.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 186
187 // static 187 // static
188 int Linkage::FrameStateInputCount(Runtime::FunctionId function) { 188 int Linkage::FrameStateInputCount(Runtime::FunctionId function) {
189 // Most runtime functions need a FrameState. A few chosen ones that we know 189 // Most runtime functions need a FrameState. A few chosen ones that we know
190 // not to call into arbitrary JavaScript, not to throw, and not to deoptimize 190 // not to call into arbitrary JavaScript, not to throw, and not to deoptimize
191 // are blacklisted here and can be called without a FrameState. 191 // are blacklisted here and can be called without a FrameState.
192 switch (function) { 192 switch (function) {
193 case Runtime::kAllocateInTargetSpace: 193 case Runtime::kAllocateInTargetSpace:
194 case Runtime::kDateField: 194 case Runtime::kDateField:
195 case Runtime::kFinalizeClassDefinition: // TODO(conradw): Is it safe? 195 case Runtime::kFinalizeClassDefinition: // TODO(conradw): Is it safe?
196 case Runtime::kFinalizeClassDefinitionStrong: // TODO(conradw): Is it safe?
197 case Runtime::kDefineClassMethod: // TODO(jarin): Is it safe? 196 case Runtime::kDefineClassMethod: // TODO(jarin): Is it safe?
198 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? 197 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe?
199 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? 198 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe?
200 case Runtime::kForInDone: 199 case Runtime::kForInDone:
201 case Runtime::kForInStep: 200 case Runtime::kForInStep:
202 case Runtime::kGetOriginalConstructor: 201 case Runtime::kGetOriginalConstructor:
203 case Runtime::kNewArguments: 202 case Runtime::kNewArguments:
204 case Runtime::kNewClosure: 203 case Runtime::kNewClosure:
205 case Runtime::kNewFunctionContext: 204 case Runtime::kNewFunctionContext:
206 case Runtime::kNewRestParamSlow: 205 case Runtime::kNewRestParamSlow:
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 Operator::Properties properties, MachineType return_type) { 279 Operator::Properties properties, MachineType return_type) {
281 UNIMPLEMENTED(); 280 UNIMPLEMENTED();
282 return NULL; 281 return NULL;
283 } 282 }
284 283
285 284
286 #endif // !V8_TURBOFAN_BACKEND 285 #endif // !V8_TURBOFAN_BACKEND
287 } // namespace compiler 286 } // namespace compiler
288 } // namespace internal 287 } // namespace internal
289 } // namespace v8 288 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698