Index: src/ppc/simulator-ppc.cc |
diff --git a/src/ppc/simulator-ppc.cc b/src/ppc/simulator-ppc.cc |
index ea275031801430798b63df82d33869a4a4e25fc4..f23a61816910fb2d373cce1f213358b55ce9325a 100644 |
--- a/src/ppc/simulator-ppc.cc |
+++ b/src/ppc/simulator-ppc.cc |
@@ -2754,10 +2754,11 @@ void Simulator::ExecuteExt4(Instruction* instr) { |
return; |
} |
case FSQRT: { |
+ lazily_initialize_fast_sqrt(isolate_); |
int frt = instr->RTValue(); |
int frb = instr->RBValue(); |
double frb_val = get_double_from_d_register(frb); |
- double frt_val = fast_sqrt(frb_val); |
+ double frt_val = fast_sqrt(frb_val, isolate_); |
set_d_register_from_double(frt, frt_val); |
return; |
} |