Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: src/full-codegen/mips64/full-codegen-mips64.cc

Issue 1474323002: Delete Assembler::FlushICacheWithoutIsolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
6 6
7 // Note on Mips implementation: 7 // Note on Mips implementation:
8 // 8 //
9 // The result_register() for mips is the 'v0' register, which is defined 9 // The result_register() for mips is the 'v0' register, which is defined
10 // by the ABI to contain function return values. However, the first 10 // by the ABI to contain function return values. However, the first
(...skipping 4927 matching lines...) Expand 10 before | Expand all | Expand 10 after
4938 // ori t9, <on-stack replacement address> lower 4938 // ori t9, <on-stack replacement address> lower
4939 // jalr t9 ;; Not changed 4939 // jalr t9 ;; Not changed
4940 // nop ;; Not changed 4940 // nop ;; Not changed
4941 // ok-label ----- pc_after points here 4941 // ok-label ----- pc_after points here
4942 patcher.masm()->daddiu(at, zero_reg, 1); 4942 patcher.masm()->daddiu(at, zero_reg, 1);
4943 break; 4943 break;
4944 } 4944 }
4945 Address pc_immediate_load_address = pc - 6 * kInstrSize; 4945 Address pc_immediate_load_address = pc - 6 * kInstrSize;
4946 // Replace the stack check address in the load-immediate (6-instr sequence) 4946 // Replace the stack check address in the load-immediate (6-instr sequence)
4947 // with the entry address of the replacement code. 4947 // with the entry address of the replacement code.
4948 Assembler::set_target_address_at(pc_immediate_load_address, 4948 Assembler::set_target_address_at(unoptimized_code->GetIsolate(),
4949 pc_immediate_load_address,
4949 replacement_code->entry()); 4950 replacement_code->entry());
4950 4951
4951 unoptimized_code->GetHeap()->incremental_marking()->RecordCodeTargetPatch( 4952 unoptimized_code->GetHeap()->incremental_marking()->RecordCodeTargetPatch(
4952 unoptimized_code, pc_immediate_load_address, replacement_code); 4953 unoptimized_code, pc_immediate_load_address, replacement_code);
4953 } 4954 }
4954 4955
4955 4956
4956 BackEdgeTable::BackEdgeState BackEdgeTable::GetBackEdgeState( 4957 BackEdgeTable::BackEdgeState BackEdgeTable::GetBackEdgeState(
4957 Isolate* isolate, 4958 Isolate* isolate,
4958 Code* unoptimized_code, 4959 Code* unoptimized_code,
(...skipping 25 matching lines...) Expand all
4984 reinterpret_cast<uint64_t>( 4985 reinterpret_cast<uint64_t>(
4985 isolate->builtins()->OsrAfterStackCheck()->entry())); 4986 isolate->builtins()->OsrAfterStackCheck()->entry()));
4986 return OSR_AFTER_STACK_CHECK; 4987 return OSR_AFTER_STACK_CHECK;
4987 } 4988 }
4988 4989
4989 4990
4990 } // namespace internal 4991 } // namespace internal
4991 } // namespace v8 4992 } // namespace v8
4992 4993
4993 #endif // V8_TARGET_ARCH_MIPS64 4994 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698