geode/loader/dobby/source/MemoryAllocator/CodeBuffer/code-buffer-x64.h
2022-07-30 19:24:03 +03:00

22 lines
No EOL
379 B
C++

#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