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

Unified Diff: runtime/vm/stub_code_arm64.cc

Issue 1279713002: VM: Remove obsolete workaround for a GC issue in the deoptimization stub. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/stub_code_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_arm64.cc
diff --git a/runtime/vm/stub_code_arm64.cc b/runtime/vm/stub_code_arm64.cc
index b3bd5520d5749b13b3d064005e608f737a911f9c..989935c27cfe3dc15dfa88d38c1faffe4b970eb1 100644
--- a/runtime/vm/stub_code_arm64.cc
+++ b/runtime/vm/stub_code_arm64.cc
@@ -518,7 +518,6 @@ static void GenerateDeoptimizationSequence(Assembler* assembler,
// Enter stub frame with loading PP. The caller's PP is not materialized yet.
__ EnterStubFrame();
if (preserve_result) {
- __ Push(ZR); // Workaround for dropped stack slot during GC.
__ Push(R1); // Preserve result, it will be GC-d here.
}
__ Push(ZR); // Space for the result.
@@ -529,7 +528,6 @@ static void GenerateDeoptimizationSequence(Assembler* assembler,
__ SmiUntag(R1);
if (preserve_result) {
__ Pop(R0); // Restore result.
- __ Drop(1); // Workaround for dropped stack slot during GC.
}
__ LeaveStubFrame();
// Remove materialization arguments.
« no previous file with comments | « no previous file | runtime/vm/stub_code_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698