Index: src/x64/assembler-x64.cc |
=================================================================== |
--- src/x64/assembler-x64.cc (revision 6418) |
+++ src/x64/assembler-x64.cc (working copy) |
@@ -1278,6 +1278,18 @@ |
} |
+void Assembler::j(Condition cc, byte* entry, RelocInfo::Mode rmode) { |
+ EnsureSpace ensure_space(this); |
+ RecordRelocInfo(rmode); |
+ last_pc_ = pc_; |
+ ASSERT((0 <= cc) && (cc < 16)); |
+ // 0000 1111 1000 tttn #32-bit disp. |
+ emit(0x0F); |
+ emit(0x80 | cc); |
+ emit(entry - (pc_ + sizeof(intptr_t))); |
+} |
+ |
+ |
void Assembler::jmp(Label* L) { |
EnsureSpace ensure_space(this); |
last_pc_ = pc_; |
@@ -1949,6 +1961,14 @@ |
} |
+void Assembler::push_imm32(int32_t imm32) { |
+ EnsureSpace ensure_space(this); |
+ last_pc_ = pc_; |
+ emit(0x68); |
+ emitl(imm32); |
+} |
+ |
+ |
void Assembler::pushfq() { |
EnsureSpace ensure_space(this); |
last_pc_ = pc_; |