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

Unified Diff: runtime/vm/assembler_mips.h

Issue 735543003: Range feedback for binary integer operations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 6 years 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/assembler_ia32_test.cc ('k') | runtime/vm/assembler_mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_mips.h
diff --git a/runtime/vm/assembler_mips.h b/runtime/vm/assembler_mips.h
index 6e12f0b90447376e3547d0f2f5f23f52246cbc20..ed17a7c274c85f3abbd6ad3da3e454a740a18c15 100644
--- a/runtime/vm/assembler_mips.h
+++ b/runtime/vm/assembler_mips.h
@@ -1178,6 +1178,11 @@ class Assembler : public ValueObject {
}
}
+ void StoreFieldToOffset(Register reg, Register base, int32_t offset) {
+ StoreToOffset(reg, base, offset - kHeapObjectTag);
+ }
+
+
void StoreDToOffset(DRegister reg, Register base, int32_t offset) {
ASSERT(!in_delay_slot_);
FRegister lo = static_cast<FRegister>(reg * 2);
@@ -1223,6 +1228,16 @@ class Assembler : public ValueObject {
void LoadClass(Register result, Register object);
void LoadTaggedClassIdMayBeSmi(Register result, Register object);
+ void ComputeRange(Register result,
+ Register value,
+ Label* miss);
+
+ void UpdateRangeFeedback(Register value,
+ intptr_t index,
+ Register ic_data,
+ Register scratch,
+ Label* miss);
+
void StoreIntoObject(Register object, // Object we are storing into.
const Address& dest, // Where we are storing into.
Register value, // Value we are storing.
« no previous file with comments | « runtime/vm/assembler_ia32_test.cc ('k') | runtime/vm/assembler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698