Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 9f52569ccf60fa1a03a7a6aafc178f991a22b6d6..d76a3e5f49f07bcf7096e0e711197ac029142fd3 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -3149,9 +3149,10 @@ class HConstant: public HTemplateInstruction<0> { |
Handle<Object> handle() { |
if (handle_.is_null()) { |
+ Factory* factory = Isolate::Current()->factory(); |
// Default arguments to is_not_in_new_space depend on this heap number |
// to be tenured so that it's guaranteed not be be located in new space. |
- handle_ = FACTORY->NewNumber(double_value_, TENURED); |
+ handle_ = factory->NewNumber(double_value_, TENURED); |
} |
ALLOW_HANDLE_DEREF(Isolate::Current(), "smi check"); |
ASSERT(has_int32_value_ || !handle_->IsSmi()); |