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

Unified Diff: runtime/vm/assembler_arm.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
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | runtime/vm/flow_graph_compiler_arm.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm.h
===================================================================
--- runtime/vm/assembler_arm.h (revision 25073)
+++ runtime/vm/assembler_arm.h (working copy)
@@ -12,12 +12,14 @@
#include "platform/assert.h"
#include "platform/utils.h"
#include "vm/constants_arm.h"
+#include "vm/locations.h"
srdjan 2013/07/17 16:13:04 I do not think that assembler should depend on opt
#include "vm/simulator.h"
namespace dart {
// Forward declarations.
class RuntimeEntry;
+class Location;
class Label : public ValueObject {
public:
@@ -255,7 +257,9 @@
encoding_ = so.encoding() | am | (static_cast<uint32_t>(rn) << kRnShift);
}
- bool Equals(const Address& other) {
+ static Address StackSlotAddress(const Location& stack_slot);
+
+ bool Equals(const Address& other) const {
return (encoding_ == other.encoding_) && (kind_ == other.kind_);
}
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | runtime/vm/flow_graph_compiler_arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698