Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 5bb7f484b5a75a50eef40cfd3a4b0f2ffb6fccb1..ee1fbff09b18e15e7e10ee71b65992a0ad5bf608 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -2360,6 +2360,10 @@ class HCallRuntime V8_FINAL : public HCall<1> { |
HValue* context() { return OperandAt(0); } |
const Runtime::Function* function() const { return c_function_; } |
Handle<String> name() const { return name_; } |
+ SaveFPRegsMode save_doubles() const { return save_doubles_; } |
+ void set_save_doubles(SaveFPRegsMode save_doubles) { |
+ save_doubles_ = save_doubles; |
+ } |
virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { |
return Representation::Tagged(); |
@@ -2372,12 +2376,14 @@ class HCallRuntime V8_FINAL : public HCall<1> { |
Handle<String> name, |
const Runtime::Function* c_function, |
int argument_count) |
- : HCall<1>(argument_count), c_function_(c_function), name_(name) { |
+ : HCall<1>(argument_count), c_function_(c_function), name_(name), |
+ save_doubles_(kDontSaveFPRegs) { |
SetOperandAt(0, context); |
} |
const Runtime::Function* c_function_; |
Handle<String> name_; |
+ SaveFPRegsMode save_doubles_; |
}; |