Index: src/ia32/lithium-codegen-ia32.h |
=================================================================== |
--- src/ia32/lithium-codegen-ia32.h (revision 5982) |
+++ src/ia32/lithium-codegen-ia32.h (working copy) |
@@ -196,6 +196,15 @@ |
Condition EmitTypeofIs(Label* true_label, Label* false_label, |
Register input, Handle<String> type_name); |
+ // Emits optimized code for %_IsObject(x). Preserves input register. |
+ // Returns the condition on which a final split to |
+ // true and false label should be made, to optimize fallthrough. |
+ Condition EmitIsObject(Register input, |
+ Register temp1, |
+ Register temp2, |
+ Label* is_not_object, |
+ Label* is_object); |
+ |
LChunk* const chunk_; |
MacroAssembler* const masm_; |
CompilationInfo* const info_; |