Fallback case if indirection table could not be allocated.

This commit is contained in:
Dr. Chat
2015-11-04 06:46:52 -06:00
parent b9326be93c
commit f3fe260a17
3 changed files with 31 additions and 6 deletions

View File

@@ -41,6 +41,7 @@ class X64CodeCache : public CodeCache {
// TODO(benvanik): keep track of code blocks
// TODO(benvanik): padding/guards/etc
bool has_indirection_table() { return indirection_table_base_ != nullptr; }
void set_indirection_default(uint32_t default_value);
void AddIndirection(uint32_t guest_address, uint32_t host_address);