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

Unified Diff: runtime/vm/locations.cc

Issue 1858283002: Initial SIMDBC interpreter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « runtime/vm/locations.h ('k') | runtime/vm/method_recognizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/locations.cc
diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc
index 8a9499eb3c2b99793bead36c4a8d1a31d3de3e22..5603a1c7a5065fe2c3ce92846cd97497a6fa3bfb 100644
--- a/runtime/vm/locations.cc
+++ b/runtime/vm/locations.cc
@@ -118,6 +118,8 @@ Location Location::AnyOrConstant(Value* value) {
}
+// DBC does not have an notion of 'address' in its instruction set.
+#if !defined(TARGET_ARCH_DBC)
Address Location::ToStackSlotAddress() const {
const intptr_t index = stack_index();
const Register base = base_reg();
@@ -134,7 +136,7 @@ Address Location::ToStackSlotAddress() const {
return Address(base, index * kWordSize);
}
}
-
+#endif
intptr_t Location::ToStackSlotOffset() const {
const intptr_t index = stack_index();
« no previous file with comments | « runtime/vm/locations.h ('k') | runtime/vm/method_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698