| Index: src/hydrogen-instructions.cc
|
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
|
| index f6ee8dc0d5b24509a64ea04733b0abeae7c197bb..e371277b4e14b3a50995d31cc3707358edc98edc 100644
|
| --- a/src/hydrogen-instructions.cc
|
| +++ b/src/hydrogen-instructions.cc
|
| @@ -3668,7 +3668,7 @@ HInstruction* HStringCharFromCode::New(
|
| Zone* zone, HValue* context, HValue* char_code) {
|
| if (FLAG_fold_constants && char_code->IsConstant()) {
|
| HConstant* c_code = HConstant::cast(char_code);
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = zone->isolate();
|
| if (c_code->HasNumberValue()) {
|
| if (std::isfinite(c_code->DoubleValue())) {
|
| uint32_t code = c_code->NumberValueAsInteger32() & 0xffff;
|
|
|