Index: src/ia32/lithium-codegen-ia32.h |
diff --git a/src/ia32/lithium-codegen-ia32.h b/src/ia32/lithium-codegen-ia32.h |
index 412e418f217ef3744072401a5aa467646e96902f..b8f3af1f77e381a3e42624f1d9341f163f5d0317 100644 |
--- a/src/ia32/lithium-codegen-ia32.h |
+++ b/src/ia32/lithium-codegen-ia32.h |
@@ -283,6 +283,14 @@ 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, |
+ Label* is_string); |
+ |
// Emits optimized code for %_IsConstructCall(). |
// Caller should branch on equal condition. |
void EmitIsConstructCall(Register temp); |