diff options
Diffstat (limited to 'deps/v8/src/diagnostics/disassembler.cc')
-rw-r--r-- | deps/v8/src/diagnostics/disassembler.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/src/diagnostics/disassembler.cc b/deps/v8/src/diagnostics/disassembler.cc index ddf990da8d..81b5893226 100644 --- a/deps/v8/src/diagnostics/disassembler.cc +++ b/deps/v8/src/diagnostics/disassembler.cc @@ -302,8 +302,8 @@ static int DecodeIt(Isolate* isolate, ExternalReferenceEncoder* ref_encoder, CodeCommentsIterator cit(code.code_comments(), code.code_comments_size()); // Relocation exists if we either have no isolate (wasm code), // or we have an isolate and it is not an off-heap instruction stream. - if (!isolate || - !InstructionStream::PcIsOffHeap(isolate, bit_cast<Address>(begin))) { + if (!isolate || !OffHeapInstructionStream::PcIsOffHeap( + isolate, bit_cast<Address>(begin))) { it = new RelocIterator(code); } else { // No relocation information when printing code stubs. @@ -421,8 +421,8 @@ static int DecodeIt(Isolate* isolate, ExternalReferenceEncoder* ref_encoder, // bytes, a constant could accidentally match with the bit-pattern checked // by IsInConstantPool() below. if (pcs.empty() && !code.is_null() && !decoding_constant_pool) { - RelocInfo dummy_rinfo(reinterpret_cast<Address>(prev_pc), RelocInfo::NONE, - 0, Code()); + RelocInfo dummy_rinfo(reinterpret_cast<Address>(prev_pc), + RelocInfo::NO_INFO, 0, Code()); if (dummy_rinfo.IsInConstantPool()) { Address constant_pool_entry_address = dummy_rinfo.constant_pool_entry_address(); |