| Index: src/serialize.cc
|
| diff --git a/src/serialize.cc b/src/serialize.cc
|
| index 38884e3cc32fb9d8eec99257e59ebfaa25f0a557..ca1c884dc8b596f537a72d2387d0971110252212 100644
|
| --- a/src/serialize.cc
|
| +++ b/src/serialize.cc
|
| @@ -547,9 +547,10 @@ void ExternalReferenceTable::PopulateTable(Isolate* isolate) {
|
|
|
| // Add a small set of deopt entry addresses to encoder without generating the
|
| // deopt table code, which isn't possible at deserialization time.
|
| - HandleScope scope(Isolate::Current());
|
| + HandleScope scope(isolate);
|
| for (int entry = 0; entry < kDeoptTableSerializeEntryCount; ++entry) {
|
| Address address = Deoptimizer::GetDeoptimizationEntry(
|
| + isolate,
|
| entry,
|
| Deoptimizer::LAZY,
|
| Deoptimizer::CALCULATE_ENTRY_ADDRESS);
|
|
|