Index: src/ia32/codegen-ia32.h |
=================================================================== |
--- src/ia32/codegen-ia32.h (revision 5072) |
+++ src/ia32/codegen-ia32.h (working copy) |
@@ -560,6 +560,17 @@ |
Condition cc, |
bool strict, |
ControlDestination* destination); |
+ |
+ // If at least one of the sides is a constant smi, generate optimized code. |
+ void ConstantSmiComparison(Condition cc, |
+ bool strict, |
+ ControlDestination* destination, |
+ Result* left_side, |
+ Result* right_side, |
+ bool left_side_constant_smi, |
+ bool right_side_constant_smi, |
+ bool is_loop_condition); |
+ |
void GenerateInlineNumberComparison(Result* left_side, |
Result* right_side, |
Condition cc, |