Index: src/ia32/lithium-codegen-ia32.h |
=================================================================== |
--- src/ia32/lithium-codegen-ia32.h (revision 9808) |
+++ src/ia32/lithium-codegen-ia32.h (working copy) |
@@ -131,8 +131,8 @@ |
bool is_done() const { return status_ == DONE; } |
bool is_aborted() const { return status_ == ABORTED; } |
- int strict_mode_flag() const { |
- return info()->is_strict_mode() ? kStrictMode : kNonStrictMode; |
+ StrictModeFlag strict_mode_flag() const { |
+ return info()->strict_mode_flag(); |
} |
bool dynamic_frame_alignment() const { return dynamic_frame_alignment_; } |
void set_dynamic_frame_alignment(bool value) { |
@@ -227,6 +227,7 @@ |
Register ToRegister(int index) const; |
XMMRegister ToDoubleRegister(int index) const; |
int ToInteger32(LConstantOperand* op) const; |
+ double ToDouble(LConstantOperand* op) const; |
Operand BuildFastArrayOperand(LOperand* elements_pointer, |
LOperand* key, |
ElementsKind elements_kind, |
@@ -261,7 +262,6 @@ |
static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
void EmitGoto(int block); |
void EmitBranch(int left_block, int right_block, Condition cc); |
- void EmitCmpI(LOperand* left, LOperand* right); |
void EmitNumberUntagD(Register input, |
XMMRegister result, |
bool deoptimize_on_undefined, |
@@ -270,8 +270,10 @@ |
// Emits optimized code for typeof x == "y". Modifies input register. |
// Returns the condition on which a final split to |
// true and false label should be made, to optimize fallthrough. |
- Condition EmitTypeofIs(Label* true_label, Label* false_label, |
- Register input, Handle<String> type_name); |
+ 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 |