Index: src/assembler_ia32.h |
diff --git a/src/assembler_ia32.h b/src/assembler_ia32.h |
index a7ffc9e1ec539ec748f6ba6c3874fa95afe47f7b..d38dca78b897a3fa3ab9e6b8c9d7203cc2a33109 100644 |
--- a/src/assembler_ia32.h |
+++ b/src/assembler_ia32.h |
@@ -56,12 +56,6 @@ public: |
DisplacementRelocation(Kind, Sym); |
} |
- void Process(const MemoryRegion ®ion, intptr_t position) override { |
- (void)region; |
- (void)position; |
- llvm_unreachable("We might not be using this Process() method later."); |
- } |
- |
private: |
DisplacementRelocation(FixupKind Kind, const ConstantRelocatable *Sym) |
: AssemblerFixup(Kind, Sym) {} |
@@ -374,6 +368,15 @@ public: |
static const bool kNearJump = true; |
static const bool kFarJump = false; |
+ void alignFunction() override; |
+ |
+ SizeT getBundleAlignLog2Bytes() const override { return 5; } |
+ |
+ llvm::ArrayRef<uint8_t> getNonExecBundlePadding() const override { |
+ static const uint8_t Padding[] = {0xF4}; |
+ return llvm::ArrayRef<uint8_t>(Padding, 1); |
+ } |
+ |
Label *GetOrCreateCfgNodeLabel(SizeT NodeNumber); |
void BindCfgNodeLabel(SizeT NodeNumber) override; |
Label *GetOrCreateLocalLabel(SizeT Number); |
@@ -825,10 +828,6 @@ public: |
intptr_t CodeSize() const { return buffer_.Size(); } |
- void FinalizeInstructions(const MemoryRegion ®ion) { |
- buffer_.FinalizeInstructions(region); |
- } |
- |
private: |
inline void EmitUint8(uint8_t value); |
inline void EmitInt16(int16_t value); |