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

Unified Diff: runtime/vm/stub_code_arm64.cc

Issue 335443002: Setup R10/EDX to be valid Oops before stub calls (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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
Index: runtime/vm/stub_code_arm64.cc
diff --git a/runtime/vm/stub_code_arm64.cc b/runtime/vm/stub_code_arm64.cc
index 4a5302f7b02f3e83ca7f2a5e0f12d45ffb6ef4fd..8f7b793faeac0800513bfce64129d18a2148ec5f 100644
--- a/runtime/vm/stub_code_arm64.cc
+++ b/runtime/vm/stub_code_arm64.cc
@@ -45,6 +45,7 @@ void StubCode::GenerateCallToRuntimeStub(Assembler* assembler) {
__ SetPrologueOffset();
__ Comment("CallToRuntimeStub");
__ EnterFrame(0);
+ __ SmiUntag(R4);
// Load current Isolate pointer from Context structure into R0.
__ LoadFieldFromOffset(R0, CTX, Context::isolate_offset(), kNoPP);

Powered by Google App Engine
This is Rietveld 408576698