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

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

Issue 1266013006: [stubs] Unify (and optimize) implementation of ToObject. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add missing support for %_ToObject in TurboFan and Crankshaft. 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/js-intrinsic-lowering.cc ('k') | src/compiler/typer.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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? 212 case Runtime::kToFastProperties: // TODO(jarin): Is it safe?
213 case Runtime::kTraceEnter: 213 case Runtime::kTraceEnter:
214 case Runtime::kTraceExit: 214 case Runtime::kTraceExit:
215 return 0; 215 return 0;
216 case Runtime::kInlineArguments: 216 case Runtime::kInlineArguments:
217 case Runtime::kInlineCallFunction: 217 case Runtime::kInlineCallFunction:
218 case Runtime::kInlineDefaultConstructorCallSuper: 218 case Runtime::kInlineDefaultConstructorCallSuper:
219 case Runtime::kInlineGetCallerJSFunction: 219 case Runtime::kInlineGetCallerJSFunction:
220 case Runtime::kInlineGetPrototype: 220 case Runtime::kInlineGetPrototype:
221 case Runtime::kInlineRegExpExec: 221 case Runtime::kInlineRegExpExec:
222 case Runtime::kInlineToObject:
222 return 1; 223 return 1;
223 case Runtime::kInlineDeoptimizeNow: 224 case Runtime::kInlineDeoptimizeNow:
224 case Runtime::kInlineThrowNotDateError: 225 case Runtime::kInlineThrowNotDateError:
225 return 2; 226 return 2;
226 default: 227 default:
227 break; 228 break;
228 } 229 }
229 230
230 // Most inlined runtime functions (except the ones listed above) can be called 231 // Most inlined runtime functions (except the ones listed above) can be called
231 // without a FrameState or will be lowered by JSIntrinsicLowering internally. 232 // without a FrameState or will be lowered by JSIntrinsicLowering internally.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 Operator::Properties properties, MachineType return_type) { 280 Operator::Properties properties, MachineType return_type) {
280 UNIMPLEMENTED(); 281 UNIMPLEMENTED();
281 return NULL; 282 return NULL;
282 } 283 }
283 284
284 285
285 #endif // !V8_TURBOFAN_BACKEND 286 #endif // !V8_TURBOFAN_BACKEND
286 } // namespace compiler 287 } // namespace compiler
287 } // namespace internal 288 } // namespace internal
288 } // namespace v8 289 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698