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

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

Issue 988333003: [turbofan] Only reduce inline %DeoptimizeNow. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Adapt linkage. Created 5 years, 9 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-intrinsic-lowering.cc ('k') | test/mjsunit/compiler/eager-deopt-simple.js » ('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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 case Runtime::kStringCompareRT: 122 case Runtime::kStringCompareRT:
123 case Runtime::kStringEquals: 123 case Runtime::kStringEquals:
124 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? 124 case Runtime::kToFastProperties: // TODO(jarin): Is it safe?
125 case Runtime::kTraceEnter: 125 case Runtime::kTraceEnter:
126 case Runtime::kTraceExit: 126 case Runtime::kTraceExit:
127 case Runtime::kTypeof: 127 case Runtime::kTypeof:
128 return false; 128 return false;
129 case Runtime::kInlineArguments: 129 case Runtime::kInlineArguments:
130 case Runtime::kInlineCallFunction: 130 case Runtime::kInlineCallFunction:
131 case Runtime::kInlineDateField: 131 case Runtime::kInlineDateField:
132 case Runtime::kInlineDeoptimizeNow:
132 case Runtime::kInlineGetPrototype: 133 case Runtime::kInlineGetPrototype:
133 case Runtime::kInlineRegExpExec: 134 case Runtime::kInlineRegExpExec:
134 return true; 135 return true;
135 default: 136 default:
136 break; 137 break;
137 } 138 }
138 139
139 // Most inlined runtime functions (except the ones listed above) can be called 140 // Most inlined runtime functions (except the ones listed above) can be called
140 // without a FrameState or will be lowered by JSIntrinsicLowering internally. 141 // without a FrameState or will be lowered by JSIntrinsicLowering internally.
141 const Runtime::Function* const f = Runtime::FunctionForId(function); 142 const Runtime::Function* const f = Runtime::FunctionForId(function);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 183
183 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, 184 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone,
184 const MachineSignature* sig) { 185 const MachineSignature* sig) {
185 UNIMPLEMENTED(); 186 UNIMPLEMENTED();
186 return NULL; 187 return NULL;
187 } 188 }
188 #endif // !V8_TURBOFAN_BACKEND 189 #endif // !V8_TURBOFAN_BACKEND
189 } 190 }
190 } 191 }
191 } // namespace v8::internal::compiler 192 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | test/mjsunit/compiler/eager-deopt-simple.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698