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

Side by Side Diff: src/full-codegen/x87/full-codegen-x87.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/x64/full-codegen-x64.cc ('k') | src/ia32/assembler-ia32.h » ('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_X87 5 #if V8_TARGET_ARCH_X87
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 4810 matching lines...) Expand 10 before | Expand all | Expand 10 after
4821 // sub <profiling_counter>, <delta> ;; Not changed 4821 // sub <profiling_counter>, <delta> ;; Not changed
4822 // nop 4822 // nop
4823 // nop 4823 // nop
4824 // call <on-stack replacment> 4824 // call <on-stack replacment>
4825 // ok: 4825 // ok:
4826 *jns_instr_address = kNopByteOne; 4826 *jns_instr_address = kNopByteOne;
4827 *jns_offset_address = kNopByteTwo; 4827 *jns_offset_address = kNopByteTwo;
4828 break; 4828 break;
4829 } 4829 }
4830 4830
4831 Assembler::set_target_address_at(call_target_address, 4831 Assembler::set_target_address_at(unoptimized_code->GetIsolate(),
4832 unoptimized_code, 4832 call_target_address, unoptimized_code,
4833 replacement_code->entry()); 4833 replacement_code->entry());
4834 unoptimized_code->GetHeap()->incremental_marking()->RecordCodeTargetPatch( 4834 unoptimized_code->GetHeap()->incremental_marking()->RecordCodeTargetPatch(
4835 unoptimized_code, call_target_address, replacement_code); 4835 unoptimized_code, call_target_address, replacement_code);
4836 } 4836 }
4837 4837
4838 4838
4839 BackEdgeTable::BackEdgeState BackEdgeTable::GetBackEdgeState( 4839 BackEdgeTable::BackEdgeState BackEdgeTable::GetBackEdgeState(
4840 Isolate* isolate, 4840 Isolate* isolate,
4841 Code* unoptimized_code, 4841 Code* unoptimized_code,
4842 Address pc) { 4842 Address pc) {
(...skipping 21 matching lines...) Expand all
4864 Assembler::target_address_at(call_target_address, 4864 Assembler::target_address_at(call_target_address,
4865 unoptimized_code)); 4865 unoptimized_code));
4866 return OSR_AFTER_STACK_CHECK; 4866 return OSR_AFTER_STACK_CHECK;
4867 } 4867 }
4868 4868
4869 4869
4870 } // namespace internal 4870 } // namespace internal
4871 } // namespace v8 4871 } // namespace v8
4872 4872
4873 #endif // V8_TARGET_ARCH_X87 4873 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/full-codegen/x64/full-codegen-x64.cc ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698