Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index 8f2064a74513cb3392472597c6d3afab6b1e964a..efc5bfae725db91c1b80db8c3c8c2d35623f6920 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -337,6 +337,25 @@ class MacroAssembler: public Assembler { |
void set_allow_stub_calls(bool value) { allow_stub_calls_ = value; } |
bool allow_stub_calls() { return allow_stub_calls_; } |
+ // --------------------------------------------------------------------------- |
+ // String utilities |
+ |
+ // Checks if both objects are sequential ASCII strings and jumps to label |
+ // if either is not. Assumes that neither object is a smi. |
+ void JumpIfNonSmisNotBothSequentialAsciiStrings(Register object1, |
+ Register object2, |
+ Register scratch1, |
+ Register scratch2, |
+ Label *failure); |
+ |
+ // Checks if both objects are sequential ASCII strings and jumps to label |
+ // if either is not. |
+ void JumpIfNotBothSequentialAsciiStrings(Register first, |
+ Register second, |
+ Register scratch1, |
+ Register scratch2, |
+ Label* not_flat_ascii_strings); |
+ |
private: |
List<Unresolved> unresolved_; |
bool generating_stub_; |