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

Unified Diff: runtime/vm/assembler_x64.h

Issue 10559035: Implement a simple register allocator that tries to keep instruction results in registers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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/assembler_x64.h
diff --git a/runtime/vm/assembler_x64.h b/runtime/vm/assembler_x64.h
index 6fd82bcc8817f055f2950c36731f459bcd6e48f8..1a680a566871304d536fa1fda90a31acd484c2fa 100644
--- a/runtime/vm/assembler_x64.h
+++ b/runtime/vm/assembler_x64.h
@@ -501,6 +501,8 @@ class Assembler : public ValueObject {
// Issues a move instruction if 'to' is not the same as 'from'.
void MoveRegister(Register to, Register from);
+ void PushRegister(Register r);
+ void PopRegister(Register r);
void AddImmediate(Register reg, const Immediate& imm);

Powered by Google App Engine
This is Rietveld 408576698