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

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

Issue 1109773002: [turbofan] Add SimplifiedOperator::Allocate operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 5 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/js-typed-lowering.cc ('k') | src/compiler/opcodes.h » ('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/linkage.h" 7 #include "src/compiler/linkage.h"
8 #include "src/compiler/node.h" 8 #include "src/compiler/node.h"
9 #include "src/compiler/pipeline.h" 9 #include "src/compiler/pipeline.h"
10 #include "src/scopes.h" 10 #include "src/scopes.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 } 103 }
104 } 104 }
105 105
106 106
107 // static 107 // static
108 bool Linkage::NeedsFrameState(Runtime::FunctionId function) { 108 bool Linkage::NeedsFrameState(Runtime::FunctionId function) {
109 // Most runtime functions need a FrameState. A few chosen ones that we know 109 // Most runtime functions need a FrameState. A few chosen ones that we know
110 // not to call into arbitrary JavaScript, not to throw, and not to deoptimize 110 // not to call into arbitrary JavaScript, not to throw, and not to deoptimize
111 // are blacklisted here and can be called without a FrameState. 111 // are blacklisted here and can be called without a FrameState.
112 switch (function) { 112 switch (function) {
113 case Runtime::kAllocateInTargetSpace:
113 case Runtime::kDefineClassMethod: // TODO(jarin): Is it safe? 114 case Runtime::kDefineClassMethod: // TODO(jarin): Is it safe?
114 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? 115 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe?
115 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? 116 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe?
116 case Runtime::kForInCacheArrayLength: 117 case Runtime::kForInCacheArrayLength:
117 case Runtime::kForInInit: 118 case Runtime::kForInInit:
118 case Runtime::kForInNext: 119 case Runtime::kForInNext:
119 case Runtime::kNewArguments: 120 case Runtime::kNewArguments:
120 case Runtime::kNewClosure: 121 case Runtime::kNewClosure:
121 case Runtime::kNewFunctionContext: 122 case Runtime::kNewFunctionContext:
122 case Runtime::kNewRestParamSlow: 123 case Runtime::kNewRestParamSlow:
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 200
200 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, 201 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone,
201 const MachineSignature* sig) { 202 const MachineSignature* sig) {
202 UNIMPLEMENTED(); 203 UNIMPLEMENTED();
203 return NULL; 204 return NULL;
204 } 205 }
205 #endif // !V8_TURBOFAN_BACKEND 206 #endif // !V8_TURBOFAN_BACKEND
206 } 207 }
207 } 208 }
208 } // namespace v8::internal::compiler 209 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/opcodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698