geode/loader/dobby/source/MemoryAllocator/CodeBuffer/code-buffer-x64.h

22 lines
379 B
C
Raw Normal View History

2022-07-30 12:24:03 -04:00
#ifndef CODE_BUFFER_X64_H
#define CODE_BUFFER_X64_H
#include "MemoryAllocator/CodeBuffer/CodeBufferBase.h"
class CodeBuffer : public CodeBufferBase {
public:
CodeBuffer() : CodeBufferBase() {
}
CodeBuffer(int size) : CodeBufferBase(size) {
}
public:
void FixBindLabel(int offset, int32_t disp);
void Emit32(int32_t data);
void Emit64(int64_t data);
};
#endif