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

Unified Diff: runtime/vm/assembler_arm.h

Issue 765743003: Support use of external strings as inputs to LoadCodeUnitsInstr. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: safety 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 | « no previous file | runtime/vm/assembler_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm.h
diff --git a/runtime/vm/assembler_arm.h b/runtime/vm/assembler_arm.h
index d557640dd22eaa93ff52c2b4896f3e160fb900b3..e4f37c8206fd25c70d38a48383a140467171bdd6 100644
--- a/runtime/vm/assembler_arm.h
+++ b/runtime/vm/assembler_arm.h
@@ -697,6 +697,13 @@ class Assembler : public ValueObject {
Register base,
int32_t offset,
Condition cond = AL);
+ void LoadFieldFromOffset(OperandSize type,
+ Register reg,
+ Register base,
+ int32_t offset,
+ Condition cond = AL) {
+ LoadFromOffset(type, reg, base, offset - kHeapObjectTag, cond);
+ }
void StoreToOffset(OperandSize type,
Register reg,
Register base,
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698