| OLD | NEW | 
|    1  |    1  | 
|    2 // Copyright (c) 1994-2006 Sun Microsystems Inc. |    2 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 
|    3 // All Rights Reserved. |    3 // All Rights Reserved. | 
|    4 // |    4 // | 
|    5 // Redistribution and use in source and binary forms, with or without |    5 // Redistribution and use in source and binary forms, with or without | 
|    6 // modification, are permitted provided that the following conditions are |    6 // modification, are permitted provided that the following conditions are | 
|    7 // met: |    7 // met: | 
|    8 // |    8 // | 
|    9 // - Redistributions of source code must retain the above copyright notice, |    9 // - Redistributions of source code must retain the above copyright notice, | 
|   10 // this list of conditions and the following disclaimer. |   10 // this list of conditions and the following disclaimer. | 
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  135  |  135  | 
|  136  |  136  | 
|  137 int RelocInfo::target_address_size() { |  137 int RelocInfo::target_address_size() { | 
|  138   return Assembler::kSpecialTargetSize; |  138   return Assembler::kSpecialTargetSize; | 
|  139 } |  139 } | 
|  140  |  140  | 
|  141  |  141  | 
|  142 void RelocInfo::set_target_address(Address target, |  142 void RelocInfo::set_target_address(Address target, | 
|  143                                    WriteBarrierMode write_barrier_mode, |  143                                    WriteBarrierMode write_barrier_mode, | 
|  144                                    ICacheFlushMode icache_flush_mode) { |  144                                    ICacheFlushMode icache_flush_mode) { | 
|  145   DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); |  145   DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) || | 
 |  146          IsWasmDirectCall(rmode_)); | 
|  146   Assembler::set_target_address_at(isolate_, pc_, host_, target, |  147   Assembler::set_target_address_at(isolate_, pc_, host_, target, | 
|  147                                    icache_flush_mode); |  148                                    icache_flush_mode); | 
|  148   if (write_barrier_mode == UPDATE_WRITE_BARRIER && |  149   if (write_barrier_mode == UPDATE_WRITE_BARRIER && | 
|  149       host() != NULL && IsCodeTarget(rmode_)) { |  150       host() != NULL && IsCodeTarget(rmode_)) { | 
|  150     Object* target_code = Code::GetCodeFromTargetAddress(target); |  151     Object* target_code = Code::GetCodeFromTargetAddress(target); | 
|  151     host()->GetHeap()->incremental_marking()->RecordWriteIntoCode( |  152     host()->GetHeap()->incremental_marking()->RecordWriteIntoCode( | 
|  152         host(), this, HeapObject::cast(target_code)); |  153         host(), this, HeapObject::cast(target_code)); | 
|  153   } |  154   } | 
|  154 } |  155 } | 
|  155  |  156  | 
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  475 void Assembler::emit(uint64_t data) { |  476 void Assembler::emit(uint64_t data) { | 
|  476   CheckForEmitInForbiddenSlot(); |  477   CheckForEmitInForbiddenSlot(); | 
|  477   EmitHelper(data); |  478   EmitHelper(data); | 
|  478 } |  479 } | 
|  479  |  480  | 
|  480  |  481  | 
|  481 }  // namespace internal |  482 }  // namespace internal | 
|  482 }  // namespace v8 |  483 }  // namespace v8 | 
|  483  |  484  | 
|  484 #endif  // V8_MIPS_ASSEMBLER_MIPS_INL_H_ |  485 #endif  // V8_MIPS_ASSEMBLER_MIPS_INL_H_ | 
| OLD | NEW |