Index: src/x64/lithium-codegen-x64.h |
=================================================================== |
--- src/x64/lithium-codegen-x64.h (revision 9808) |
+++ src/x64/lithium-codegen-x64.h (working copy) |
@@ -77,6 +77,7 @@ |
XMMRegister ToDoubleRegister(LOperand* op) const; |
bool IsInteger32Constant(LConstantOperand* op) const; |
int ToInteger32(LConstantOperand* op) const; |
+ double ToDouble(LConstantOperand* op) const; |
bool IsTaggedConstant(LConstantOperand* op) const; |
Handle<Object> ToHandle(LConstantOperand* op) const; |
Operand ToOperand(LOperand* op) const; |
@@ -125,8 +126,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(); |
} |
LChunk* chunk() const { return chunk_; } |
@@ -190,9 +191,8 @@ |
int argc, |
LInstruction* instr); |
- |
// Generate a direct call to a known function. Expects the function |
- // to be in edi. |
+ // to be in rdi. |
void CallKnownFunction(Handle<JSFunction> function, |
int arity, |
LInstruction* instr, |
@@ -251,7 +251,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, |
@@ -260,8 +259,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 |