Fixing warning.
This commit is contained in:
parent
73d934b37b
commit
99c200fda5
|
@ -232,7 +232,7 @@ void X64CodeChunk::AddTableEntry(uint8_t* code, size_t code_size) {
|
|||
auto& fn_entry = fn_table[fn_table_count++];
|
||||
fn_entry.BeginAddress = (DWORD)(code - buffer);
|
||||
fn_entry.EndAddress = (DWORD)(fn_entry.BeginAddress + code_size);
|
||||
fn_entry.UnwindData = unwind_info_offset;
|
||||
fn_entry.UnwindData = (DWORD)unwind_info_offset;
|
||||
|
||||
// Notify the function table that it has new entries.
|
||||
RtlGrowFunctionTable(fn_table_handle, fn_table_count);
|
||||
|
|
|
@ -109,6 +109,9 @@ int XbyakGenerator::Emit(LIRBuilder* builder) {
|
|||
// RBX, RBP, RDI, RSI, RSP, R12, R13, R14, R15
|
||||
// Only want to do this if we actually use them, though, otherwise
|
||||
// it just adds overhead.
|
||||
// IMPORTANT: any changes to the prolog must be kept in sync with
|
||||
// X64CodeCache, which dynamically generates exception information.
|
||||
// Adding or changing anything here must be matched!
|
||||
const size_t stack_size = 16;
|
||||
sub(rsp, stack_size);
|
||||
|
||||
|
|
Loading…
Reference in New Issue