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

Unified Diff: runtime/vm/stub_code_arm.cc

Issue 14605006: Allows "Hello, world!" to run on ARM hardware. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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_arm.cc
===================================================================
--- runtime/vm/stub_code_arm.cc (revision 22334)
+++ runtime/vm/stub_code_arm.cc (working copy)
@@ -1689,7 +1689,8 @@
// Return the current stack pointer address, used to stack alignment
regis 2013/05/02 22:32:40 to -> for
zra 2013/05/02 22:58:40 Done.
// checks.
void StubCode::GenerateGetStackPointerStub(Assembler* assembler) {
- __ Unimplemented("GetStackPointer Stub");
+ __ mov(R0, ShifterOperand(SP));
+ __ Ret();
}

Powered by Google App Engine
This is Rietveld 408576698