Index: src/assembler.h |
diff --git a/src/assembler.h b/src/assembler.h |
index 8ef6739a110992f03cddd9903d44c08961c0c6da..09da533baf2f4533cd55cb024d070d209614f305 100644 |
--- a/src/assembler.h |
+++ b/src/assembler.h |
@@ -385,8 +385,6 @@ |
DEBUGGER_STATEMENT, // Code target for the debugger statement. |
EMBEDDED_OBJECT, |
CELL, |
- // To relocate pointers into the wasm memory embedded in wasm code |
- WASM_MEMORY_REFERENCE, |
// Everything after runtime_entry (inclusive) is not GC'ed. |
RUNTIME_ENTRY, |
@@ -429,8 +427,7 @@ |
FIRST_REAL_RELOC_MODE = CODE_TARGET, |
LAST_REAL_RELOC_MODE = VENEER_POOL, |
LAST_CODE_ENUM = DEBUGGER_STATEMENT, |
- LAST_GCED_ENUM = WASM_MEMORY_REFERENCE, |
- FIRST_SHAREABLE_RELOC_MODE = CELL, |
+ LAST_GCED_ENUM = CELL, |
}; |
STATIC_ASSERT(NUMBER_OF_MODES <= kBitsPerInt); |
@@ -513,9 +510,6 @@ |
} |
static inline bool IsGeneratorContinuation(Mode mode) { |
return mode == GENERATOR_CONTINUATION; |
- } |
- static inline bool IsWasmMemoryReference(Mode mode) { |
- return mode == WASM_MEMORY_REFERENCE; |
} |
static inline int ModeMask(Mode mode) { return 1 << mode; } |
@@ -577,10 +571,6 @@ |
ICacheFlushMode icache_flush_mode = |
FLUSH_ICACHE_IF_NEEDED)); |
- INLINE(Address wasm_memory_reference()); |
- INLINE(void update_wasm_memory_reference( |
- Address old_base, Address new_base, size_t old_size, size_t new_size, |
- ICacheFlushMode icache_flush_mode = SKIP_ICACHE_FLUSH)); |
// Returns the address of the constant pool entry where the target address |
// is held. This should only be called if IsInConstantPool returns true. |
INLINE(Address constant_pool_entry_address()); |