Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index 55c73006d262bee1e1ac83c97d7b98574c404b58..3f000ee411c704b1eb83229f580fc1345e1f9209 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -415,6 +415,17 @@ 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. |
+ void JumpIfNotBothSequentialAsciiStrings(Register object1, |
+ Register object2, |
+ Register scratch1, |
+ Register scratch2, |
+ Label *on_not_flat_ascii_strings); |
+ |
private: |
List<Unresolved> unresolved_; |
bool generating_stub_; |