Index: src/mips/lithium-codegen-mips.h |
diff --git a/src/mips/lithium-codegen-mips.h b/src/mips/lithium-codegen-mips.h |
index f9c013c1f5d2bb4cbf8f7cf1cd2ec60c4e0508d6..2ee9250c582d4e870e0245857efb001de1e76205 100644 |
--- a/src/mips/lithium-codegen-mips.h |
+++ b/src/mips/lithium-codegen-mips.h |
@@ -303,6 +303,13 @@ class LCodeGen BASE_EMBEDDED { |
Label* is_not_object, |
Label* is_object); |
+ // Emits optimized code for %_IsString(x). Preserves input register. |
+ // Returns the condition on which a final split to |
+ // true and false label should be made, to optimize fallthrough. |
+ Condition EmitIsString(Register input, |
+ Register temp1, |
+ Label* is_not_string); |
+ |
// Emits optimized code for %_IsConstructCall(). |
// Caller should branch on equal condition. |
void EmitIsConstructCall(Register temp1, Register temp2); |