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

Side by Side Diff: src/ia32/assembler-ia32.h

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/full-codegen/full-codegen.cc ('k') | src/ia32/assembler-ia32.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 856
857 void bind(Label* L); // binds an unbound label L to the current code position 857 void bind(Label* L); // binds an unbound label L to the current code position
858 858
859 // Calls 859 // Calls
860 void call(Label* L); 860 void call(Label* L);
861 void call(byte* entry, RelocInfo::Mode rmode); 861 void call(byte* entry, RelocInfo::Mode rmode);
862 int CallSize(const Operand& adr); 862 int CallSize(const Operand& adr);
863 void call(Register reg) { call(Operand(reg)); } 863 void call(Register reg) { call(Operand(reg)); }
864 void call(const Operand& adr); 864 void call(const Operand& adr);
865 int CallSize(Handle<Code> code, RelocInfo::Mode mode); 865 int CallSize(Handle<Code> code, RelocInfo::Mode mode);
866 void call(Handle<Code> code, 866 void call(Handle<Code> code, RelocInfo::Mode rmode);
867 RelocInfo::Mode rmode,
868 TypeFeedbackId id = TypeFeedbackId::None());
869 867
870 // Jumps 868 // Jumps
871 // unconditional jump to L 869 // unconditional jump to L
872 void jmp(Label* L, Label::Distance distance = Label::kFar); 870 void jmp(Label* L, Label::Distance distance = Label::kFar);
873 void jmp(byte* entry, RelocInfo::Mode rmode); 871 void jmp(byte* entry, RelocInfo::Mode rmode);
874 void jmp(Register reg) { jmp(Operand(reg)); } 872 void jmp(Register reg) { jmp(Operand(reg)); }
875 void jmp(const Operand& adr); 873 void jmp(const Operand& adr);
876 void jmp(Handle<Code> code, RelocInfo::Mode rmode); 874 void jmp(Handle<Code> code, RelocInfo::Mode rmode);
877 875
878 // Conditional jumps 876 // Conditional jumps
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
1739 return *reinterpret_cast<uint32_t*>(addr_at(pos)); 1737 return *reinterpret_cast<uint32_t*>(addr_at(pos));
1740 } 1738 }
1741 void long_at_put(int pos, uint32_t x) { 1739 void long_at_put(int pos, uint32_t x) {
1742 *reinterpret_cast<uint32_t*>(addr_at(pos)) = x; 1740 *reinterpret_cast<uint32_t*>(addr_at(pos)) = x;
1743 } 1741 }
1744 1742
1745 // code emission 1743 // code emission
1746 void GrowBuffer(); 1744 void GrowBuffer();
1747 inline void emit(uint32_t x); 1745 inline void emit(uint32_t x);
1748 inline void emit(Handle<Object> handle); 1746 inline void emit(Handle<Object> handle);
1749 inline void emit(uint32_t x, 1747 inline void emit(uint32_t x, RelocInfo::Mode rmode);
1750 RelocInfo::Mode rmode, 1748 inline void emit(Handle<Code> code, RelocInfo::Mode rmode);
1751 TypeFeedbackId id = TypeFeedbackId::None());
1752 inline void emit(Handle<Code> code,
1753 RelocInfo::Mode rmode,
1754 TypeFeedbackId id = TypeFeedbackId::None());
1755 inline void emit(const Immediate& x); 1749 inline void emit(const Immediate& x);
1756 inline void emit_b(Immediate x); 1750 inline void emit_b(Immediate x);
1757 inline void emit_w(const Immediate& x); 1751 inline void emit_w(const Immediate& x);
1758 inline void emit_q(uint64_t x); 1752 inline void emit_q(uint64_t x);
1759 1753
1760 // Emit the code-object-relative offset of the label's position 1754 // Emit the code-object-relative offset of the label's position
1761 inline void emit_code_relative_offset(Label* label); 1755 inline void emit_code_relative_offset(Label* label);
1762 1756
1763 // instruction generation 1757 // instruction generation
1764 void emit_arith_b(int op1, int op2, Register dst, int imm8); 1758 void emit_arith_b(int op1, int op2, Register dst, int imm8);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
1846 Assembler* assembler_; 1840 Assembler* assembler_;
1847 #ifdef DEBUG 1841 #ifdef DEBUG
1848 int space_before_; 1842 int space_before_;
1849 #endif 1843 #endif
1850 }; 1844 };
1851 1845
1852 } // namespace internal 1846 } // namespace internal
1853 } // namespace v8 1847 } // namespace v8
1854 1848
1855 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1849 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/full-codegen/full-codegen.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698