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

Unified Diff: src/code-stubs.cc

Issue 2446543002: [turbofan] Support variable size argument popping in TF-generated functions (Closed)
Patch Set: Fix x64 Created 4 years, 2 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 | « no previous file | src/compiler/arm/code-generator-arm.cc » ('j') | src/compiler/instruction-selector.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index d179a472ecee71efcaacba4f758a737bbac6b1ca..9daf1d4e990e60d737cda0b1d597d35c31c4d9c6 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -2900,7 +2900,9 @@ compiler::Node* FastCloneShallowArrayStub::Generate(
{
Node* abort_id = assembler->SmiConstant(
Smi::FromInt(BailoutReason::kExpectedFixedDoubleArrayMap));
- assembler->TailCallRuntime(Runtime::kAbort, context, abort_id);
+ assembler->CallRuntime(Runtime::kAbort, context, abort_id);
+ result.Bind(assembler->UndefinedConstant());
danno 2016/10/25 06:43:32 It's not a good idea to tail call with a different
+ assembler->Goto(&return_result);
}
assembler->Bind(&correct_elements_map);
}
« no previous file with comments | « no previous file | src/compiler/arm/code-generator-arm.cc » ('j') | src/compiler/instruction-selector.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698