Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(584)

Unified Diff: test/cctest/compiler/test-run-wasm-machops.cc

Issue 2732273003: Disentangle assembler from isolate. (Closed)
Patch Set: Address feedback. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/x87/macro-assembler-x87.cc ('k') | test/cctest/test-run-wasm-relocation-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-run-wasm-machops.cc
diff --git a/test/cctest/compiler/test-run-wasm-machops.cc b/test/cctest/compiler/test-run-wasm-machops.cc
index cbf2b2a0a383c1776ef9847861c00c0c7293c055..5490b494375128aae65fcab3df3fb23b9e25cfd8 100644
--- a/test/cctest/compiler/test-run-wasm-machops.cc
+++ b/test/cctest/compiler/test-run-wasm-machops.cc
@@ -28,10 +28,10 @@ static void UpdateMemoryReferences(Handle<Code> code, Address old_base,
for (RelocIterator it(*code, mode_mask); !it.done(); it.next()) {
RelocInfo::Mode mode = it.rinfo()->rmode();
if (RelocInfo::IsWasmMemoryReference(mode)) {
- it.rinfo()->update_wasm_memory_reference(old_base, new_base);
+ it.rinfo()->update_wasm_memory_reference(isolate, old_base, new_base);
} else {
DCHECK(RelocInfo::IsWasmMemorySizeReference(mode));
- it.rinfo()->update_wasm_memory_size(old_size, new_size);
+ it.rinfo()->update_wasm_memory_size(isolate, old_size, new_size);
}
modified = true;
}
@@ -51,7 +51,8 @@ static void UpdateFunctionTableSizeReferences(Handle<Code> code,
for (RelocIterator it(*code, mode_mask); !it.done(); it.next()) {
RelocInfo::Mode mode = it.rinfo()->rmode();
if (RelocInfo::IsWasmFunctionTableSizeReference(mode)) {
- it.rinfo()->update_wasm_function_table_size_reference(old_size, new_size);
+ it.rinfo()->update_wasm_function_table_size_reference(isolate, old_size,
+ new_size);
modified = true;
}
}
« no previous file with comments | « src/x87/macro-assembler-x87.cc ('k') | test/cctest/test-run-wasm-relocation-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698