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

Side by Side Diff: src/full-codegen/x64/full-codegen-x64.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
« no previous file with comments | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/full-codegen/x87/full-codegen-x87.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 4832 matching lines...) Expand 10 before | Expand all | Expand 10 after
4843 // sub <profiling_counter>, <delta> ;; Not changed 4843 // sub <profiling_counter>, <delta> ;; Not changed
4844 // nop 4844 // nop
4845 // nop 4845 // nop
4846 // call <on-stack replacment> 4846 // call <on-stack replacment>
4847 // ok: 4847 // ok:
4848 *jns_instr_address = kNopByteOne; 4848 *jns_instr_address = kNopByteOne;
4849 *jns_offset_address = kNopByteTwo; 4849 *jns_offset_address = kNopByteTwo;
4850 break; 4850 break;
4851 } 4851 }
4852 4852
4853 Assembler::set_target_address_at(call_target_address, 4853 Assembler::set_target_address_at(unoptimized_code->GetIsolate(),
4854 unoptimized_code, 4854 call_target_address, unoptimized_code,
4855 replacement_code->entry()); 4855 replacement_code->entry());
4856 unoptimized_code->GetHeap()->incremental_marking()->RecordCodeTargetPatch( 4856 unoptimized_code->GetHeap()->incremental_marking()->RecordCodeTargetPatch(
4857 unoptimized_code, call_target_address, replacement_code); 4857 unoptimized_code, call_target_address, replacement_code);
4858 } 4858 }
4859 4859
4860 4860
4861 BackEdgeTable::BackEdgeState BackEdgeTable::GetBackEdgeState( 4861 BackEdgeTable::BackEdgeState BackEdgeTable::GetBackEdgeState(
4862 Isolate* isolate, 4862 Isolate* isolate,
4863 Code* unoptimized_code, 4863 Code* unoptimized_code,
4864 Address pc) { 4864 Address pc) {
(...skipping 22 matching lines...) Expand all
4887 Assembler::target_address_at(call_target_address, 4887 Assembler::target_address_at(call_target_address,
4888 unoptimized_code)); 4888 unoptimized_code));
4889 return OSR_AFTER_STACK_CHECK; 4889 return OSR_AFTER_STACK_CHECK;
4890 } 4890 }
4891 4891
4892 4892
4893 } // namespace internal 4893 } // namespace internal
4894 } // namespace v8 4894 } // namespace v8
4895 4895
4896 #endif // V8_TARGET_ARCH_X64 4896 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/full-codegen/x87/full-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698