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

Unified Diff: runtime/vm/object_arm64_test.cc

Issue 311903004: Fixes to run "Hello, world!" on arm64 hardware. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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/isolate.h ('k') | runtime/vm/runtime_entry_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_arm64_test.cc
===================================================================
--- runtime/vm/object_arm64_test.cc (revision 36919)
+++ runtime/vm/object_arm64_test.cc (working copy)
@@ -17,6 +17,7 @@
// Generate a simple dart code sequence.
// This is used to test Code and Instruction object creation.
void GenerateIncrement(Assembler* assembler) {
+ __ mov(SP, CSP);
__ movz(R0, 0, 0);
__ Push(R0);
__ add(R0, R0, Operand(1));
@@ -34,6 +35,7 @@
void GenerateEmbedStringInCode(Assembler* assembler, const char* str) {
const String& string_object =
String::ZoneHandle(String::New(str, Heap::kOld));
+ __ mov(SP, CSP);
__ TagAndPushPP(); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer(PP);
__ LoadObject(R0, string_object, PP);
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/runtime_entry_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698