More mac fixups.

This commit is contained in:
Ben Vanik
2014-07-29 20:29:50 -07:00
parent 0c5110ac3e
commit d56ae60460
18 changed files with 165 additions and 70 deletions

View File

@@ -19,7 +19,7 @@
namespace BE {
#include <beaengine/BeaEngine.h>
}
} // namespace BE
namespace alloy {
namespace backend {

View File

@@ -9,9 +9,9 @@
#include <alloy/backend/x64/x64_code_cache.h>
#include <sys/mman.h>
#include <poly/assert.h>
#include <alloy/backend/x64/tracing.h>
#include <sys/mman.h>
namespace alloy {
namespace backend {

View File

@@ -370,7 +370,7 @@ void X64Emitter::CallIndirect(const hir::Instr* instr, const Reg64& reg) {
uint64_t UndefinedCallExtern(void* raw_context, uint64_t symbol_info_ptr) {
auto symbol_info = reinterpret_cast<FunctionInfo*>(symbol_info_ptr);
XELOGW("undefined extern call to %.8llX %s", symbol_info->address(),
symbol_info->name());
symbol_info->name().c_str());
return 0;
}
void X64Emitter::CallExtern(const hir::Instr* instr,