diff options
Diffstat (limited to 'deps/v8/test/cctest/compiler/test-run-machops.cc')
-rw-r--r-- | deps/v8/test/cctest/compiler/test-run-machops.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/deps/v8/test/cctest/compiler/test-run-machops.cc b/deps/v8/test/cctest/compiler/test-run-machops.cc index 0fc4d66e99..1af038a666 100644 --- a/deps/v8/test/cctest/compiler/test-run-machops.cc +++ b/deps/v8/test/cctest/compiler/test-run-machops.cc @@ -6899,29 +6899,6 @@ TEST(Regression738952) { CHECK_EQ(sentinel, m.Call()); } -TEST(Regression6640) { - RawMachineAssemblerTester<int32_t> m; - - int32_t old_value = 0; - int32_t new_value = 1; - Node* c = m.RelocatableInt32Constant( - old_value, RelocInfo::WASM_FUNCTION_TABLE_SIZE_REFERENCE); - m.Return(m.Word32Equal(c, c)); - - // Patch the code. - Handle<Code> code = m.GetCode(); - for (RelocIterator it(*code, - 1 << RelocInfo::WASM_FUNCTION_TABLE_SIZE_REFERENCE); - !it.done(); it.next()) { - // TODO(6792): No longer needed once WebAssembly code is off heap. - CodeSpaceMemoryModificationScope modification_scope(code->GetHeap()); - it.rinfo()->update_wasm_function_table_size_reference( - old_value, new_value, FLUSH_ICACHE_IF_NEEDED); - } - - CHECK(m.Call()); -} - } // namespace compiler } // namespace internal } // namespace v8 |