Index: src/x64/codegen-x64.h |
=================================================================== |
--- src/x64/codegen-x64.h (revision 5072) |
+++ src/x64/codegen-x64.h (working copy) |
@@ -521,6 +521,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, |