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

Unified Diff: runtime/vm/stub_code_arm.cc

Issue 392343002: Cleanup of class id loading sequences. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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 | « runtime/vm/intermediate_language_arm64.cc ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_arm.cc
===================================================================
--- runtime/vm/stub_code_arm.cc (revision 38317)
+++ runtime/vm/stub_code_arm.cc (working copy)
@@ -1263,8 +1263,6 @@
// Load arguments descriptor into R4.
__ ldr(R4, FieldAddress(R5, ICData::arguments_descriptor_offset()));
- // Preserve return address, since LR is needed for subroutine call.
- __ mov(R8, Operand(LR));
// Loop that checks if there is an IC data match.
Label loop, update, test, found;
// R5: IC data object (preserved).
@@ -1300,7 +1298,6 @@
__ b(&update, NE); // Continue.
} else {
// Last check, all checks before matched.
- __ mov(LR, Operand(R8), EQ); // Restore return address if found.
__ b(&found, EQ); // Break.
}
}
@@ -1320,9 +1317,6 @@
__ b(&loop, NE);
// IC miss.
- // Restore return address.
- __ mov(LR, Operand(R8));
-
// Compute address of arguments.
// R7: argument_count - 1 (smi).
__ add(R7, SP, Operand(R7, LSL, 1)); // R7 is Smi.
« no previous file with comments | « runtime/vm/intermediate_language_arm64.cc ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698