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

Unified Diff: runtime/vm/assembler_ia32.h

Issue 19464002: Replaces Location::ToStackSlotAddress() with Location::ToStackSlotOffset() (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
Index: runtime/vm/assembler_ia32.h
===================================================================
--- runtime/vm/assembler_ia32.h (revision 25072)
+++ runtime/vm/assembler_ia32.h (working copy)
@@ -12,11 +12,13 @@
#include "platform/assert.h"
#include "platform/utils.h"
#include "vm/constants_ia32.h"
+#include "vm/locations.h"
namespace dart {
// Forward declarations.
class RuntimeEntry;
+class Location;
class Immediate : public ValueObject {
public:
@@ -81,7 +83,7 @@
return *this;
}
- bool Equals(const Operand& other) {
+ bool Equals(const Operand& other) const {
if (length_ != other.length_) return false;
for (uint8_t i = 0; i < length_; i++) {
if (encoding_[i] != other.encoding_[i]) return false;
@@ -195,6 +197,8 @@
return result;
}
+ static Address StackSlotAddress(const Location& stack_slot);
+
private:
Address() { } // Needed by Address::Absolute.
};

Powered by Google App Engine
This is Rietveld 408576698