| Index: src/mips/assembler-mips.cc
|
| diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc
|
| index 444d90f678095adff7898a6c48108fbc41d40409..d7e3a39ab245792cfa87634e1b2d180509b9198c 100644
|
| --- a/src/mips/assembler-mips.cc
|
| +++ b/src/mips/assembler-mips.cc
|
| @@ -210,13 +210,13 @@ uint32_t RelocInfo::wasm_function_table_size_reference() {
|
| }
|
|
|
| void RelocInfo::unchecked_update_wasm_memory_reference(
|
| - Address address, ICacheFlushMode flush_mode) {
|
| - Assembler::set_target_address_at(isolate_, pc_, host_, address, flush_mode);
|
| + Isolate* isolate, Address address, ICacheFlushMode flush_mode) {
|
| + Assembler::set_target_address_at(isolate, pc_, host_, address, flush_mode);
|
| }
|
|
|
| -void RelocInfo::unchecked_update_wasm_size(uint32_t size,
|
| +void RelocInfo::unchecked_update_wasm_size(Isolate* isolate, uint32_t size,
|
| ICacheFlushMode flush_mode) {
|
| - Assembler::set_target_address_at(isolate_, pc_, host_,
|
| + Assembler::set_target_address_at(isolate, pc_, host_,
|
| reinterpret_cast<Address>(size), flush_mode);
|
| }
|
|
|
| @@ -288,8 +288,8 @@ const Instr kLwSwInstrTypeMask = 0xffe00000;
|
| const Instr kLwSwInstrArgumentMask = ~kLwSwInstrTypeMask;
|
| const Instr kLwSwOffsetMask = kImm16Mask;
|
|
|
| -Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size)
|
| - : AssemblerBase(isolate, buffer, buffer_size),
|
| +Assembler::Assembler(IsolateData isolate_data, void* buffer, int buffer_size)
|
| + : AssemblerBase(isolate_data, buffer, buffer_size),
|
| recorded_ast_id_(TypeFeedbackId::None()) {
|
| reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_);
|
|
|
| @@ -3084,7 +3084,7 @@ void Assembler::dd(Label* label) {
|
|
|
| void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) {
|
| // We do not try to reuse pool constants.
|
| - RelocInfo rinfo(isolate(), pc_, rmode, data, NULL);
|
| + RelocInfo rinfo(pc_, rmode, data, NULL);
|
| if (rmode >= RelocInfo::COMMENT &&
|
| rmode <= RelocInfo::DEBUG_BREAK_SLOT_AT_TAIL_CALL) {
|
| // Adjust code for new modes.
|
| @@ -3099,8 +3099,8 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) {
|
| }
|
| DCHECK(buffer_space() >= kMaxRelocSize); // Too late to grow buffer here.
|
| if (rmode == RelocInfo::CODE_TARGET_WITH_ID) {
|
| - RelocInfo reloc_info_with_ast_id(isolate(), pc_, rmode,
|
| - RecordedAstId().ToInt(), NULL);
|
| + RelocInfo reloc_info_with_ast_id(pc_, rmode, RecordedAstId().ToInt(),
|
| + NULL);
|
| ClearRecordedAstId();
|
| reloc_info_writer.Write(&reloc_info_with_ast_id);
|
| } else {
|
| @@ -3238,6 +3238,8 @@ void Assembler::QuietNaN(HeapObject* object) {
|
| void Assembler::set_target_address_at(Isolate* isolate, Address pc,
|
| Address target,
|
| ICacheFlushMode icache_flush_mode) {
|
| + DCHECK_IMPLIES(isolate == nullptr, icache_flush_mode == SKIP_ICACHE_FLUSH);
|
| +
|
| Instr instr2 = instr_at(pc + kInstrSize);
|
| uint32_t rt_code = GetRtField(instr2);
|
| uint32_t* p = reinterpret_cast<uint32_t*>(pc);
|
|
|