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

Side by Side Diff: src/x64/assembler-x64.cc

Issue 2944013002: Remove TypeFeedbackId parameters from assembler and full-code. (Closed)
Patch Set: REBASE+fixes. Created 3 years, 6 months 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/x64/assembler-x64.h ('k') | src/x64/assembler-x64-inl.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 #include "src/x64/assembler-x64.h" 5 #include "src/x64/assembler-x64.h"
6 6
7 #include <cstring> 7 #include <cstring>
8 8
9 #if V8_TARGET_ARCH_X64 9 #if V8_TARGET_ARCH_X64
10 10
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 875
876 876
877 void Assembler::call(Address entry, RelocInfo::Mode rmode) { 877 void Assembler::call(Address entry, RelocInfo::Mode rmode) {
878 DCHECK(RelocInfo::IsRuntimeEntry(rmode)); 878 DCHECK(RelocInfo::IsRuntimeEntry(rmode));
879 EnsureSpace ensure_space(this); 879 EnsureSpace ensure_space(this);
880 // 1110 1000 #32-bit disp. 880 // 1110 1000 #32-bit disp.
881 emit(0xE8); 881 emit(0xE8);
882 emit_runtime_entry(entry, rmode); 882 emit_runtime_entry(entry, rmode);
883 } 883 }
884 884
885 885 void Assembler::call(Handle<Code> target, RelocInfo::Mode rmode) {
886 void Assembler::call(Handle<Code> target,
887 RelocInfo::Mode rmode,
888 TypeFeedbackId ast_id) {
889 EnsureSpace ensure_space(this); 886 EnsureSpace ensure_space(this);
890 // 1110 1000 #32-bit disp. 887 // 1110 1000 #32-bit disp.
891 emit(0xE8); 888 emit(0xE8);
892 emit_code_target(target, rmode, ast_id); 889 emit_code_target(target, rmode);
893 } 890 }
894 891
895 892
896 void Assembler::call(Register adr) { 893 void Assembler::call(Register adr) {
897 EnsureSpace ensure_space(this); 894 EnsureSpace ensure_space(this);
898 // Opcode: FF /2 r64. 895 // Opcode: FF /2 r64.
899 emit_optional_rex_32(adr); 896 emit_optional_rex_32(adr);
900 emit(0xFF); 897 emit(0xFF);
901 emit_modrm(0x2, adr); 898 emit_modrm(0x2, adr);
902 } 899 }
(...skipping 3892 matching lines...) Expand 10 before | Expand all | Expand 10 after
4795 4792
4796 bool RelocInfo::IsInConstantPool() { 4793 bool RelocInfo::IsInConstantPool() {
4797 return false; 4794 return false;
4798 } 4795 }
4799 4796
4800 4797
4801 } // namespace internal 4798 } // namespace internal
4802 } // namespace v8 4799 } // namespace v8
4803 4800
4804 #endif // V8_TARGET_ARCH_X64 4801 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.h ('k') | src/x64/assembler-x64-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698