Adding CONTEXT_BARRIER to force the PPC context to synchronize.

This is just an annotation right now, as it's not actually needed.
This commit is contained in:
Ben Vanik
2015-11-25 14:48:36 -08:00
parent 54215d9fb4
commit dfd92757a9
7 changed files with 34 additions and 4 deletions

View File

@@ -1211,6 +1211,10 @@ void HIRBuilder::StoreContext(size_t offset, Value* value) {
i->src3.value = NULL;
}
void HIRBuilder::ContextBarrier() {
AppendInstr(OPCODE_CONTEXT_BARRIER_info, 0);
}
Value* HIRBuilder::LoadMmio(cpu::MMIORange* mmio_range, uint32_t address,
TypeName type) {
Instr* i = AppendInstr(OPCODE_LOAD_MMIO_info, 0, AllocValue(type));