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

Unified Diff: src/crankshaft/arm64/lithium-codegen-arm64.cc

Issue 1683793004: [crankshaft] Disable Crankshaft when it sees a tail call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/crankshaft/arm/lithium-codegen-arm.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/arm64/lithium-codegen-arm64.cc
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc
index 2edc75c873658ffc328c82c85ad5c1eb85cd2326..23cd736ee9f6c271cf33926e65553752c6e27ba8 100644
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc
@@ -373,7 +373,6 @@ void LCodeGen::DoCallFunction(LCallFunction* instr) {
int arity = instr->arity();
ConvertReceiverMode mode = hinstr->convert_mode();
- TailCallMode tail_call_mode = hinstr->tail_call_mode();
if (hinstr->HasVectorAndSlot()) {
Register slot_register = ToRegister(instr->temp_slot());
Register vector_register = ToRegister(instr->temp_vector());
@@ -387,14 +386,12 @@ void LCodeGen::DoCallFunction(LCallFunction* instr) {
__ Mov(vector_register, vector);
__ Mov(slot_register, Operand(Smi::FromInt(index)));
- Handle<Code> ic = CodeFactory::CallICInOptimizedCode(isolate(), arity, mode,
- tail_call_mode)
- .code();
+ Handle<Code> ic =
+ CodeFactory::CallICInOptimizedCode(isolate(), arity, mode).code();
CallCode(ic, RelocInfo::CODE_TARGET, instr);
} else {
__ Mov(x0, arity);
- CallCode(isolate()->builtins()->Call(mode, tail_call_mode),
- RelocInfo::CODE_TARGET, instr);
+ CallCode(isolate()->builtins()->Call(mode), RelocInfo::CODE_TARGET, instr);
}
RecordPushedArgumentsDelta(hinstr->argument_delta());
}
« no previous file with comments | « src/crankshaft/arm/lithium-codegen-arm.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698