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

Unified Diff: test/cctest/test-run-wasm-relocation-arm.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 | « test/cctest/compiler/test-run-wasm-machops.cc ('k') | test/cctest/test-run-wasm-relocation-arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-run-wasm-relocation-arm.cc
diff --git a/test/cctest/test-run-wasm-relocation-arm.cc b/test/cctest/test-run-wasm-relocation-arm.cc
index 1666b69a57c0e8caf743761a435786177b6708d9..20b7d533a2f2e1c882c9f4b67e3aa2792c581588 100644
--- a/test/cctest/test-run-wasm-relocation-arm.cc
+++ b/test/cctest/test-run-wasm-relocation-arm.cc
@@ -57,7 +57,7 @@ TEST(WasmRelocationArmMemoryReference) {
for (RelocIterator it(*code, mode_mask); !it.done(); it.next()) {
DCHECK(RelocInfo::IsWasmMemoryReference(it.rinfo()->rmode()));
it.rinfo()->update_wasm_memory_reference(
- it.rinfo()->wasm_memory_reference(),
+ isolate, it.rinfo()->wasm_memory_reference(),
it.rinfo()->wasm_memory_reference() + offset, SKIP_ICACHE_FLUSH);
}
@@ -111,7 +111,7 @@ TEST(WasmRelocationArmMemorySizeReference) {
for (RelocIterator it(*code, mode_mask); !it.done(); it.next()) {
DCHECK(RelocInfo::IsWasmMemorySizeReference(it.rinfo()->rmode()));
it.rinfo()->update_wasm_memory_size(
- it.rinfo()->wasm_memory_size_reference(),
+ isolate, it.rinfo()->wasm_memory_size_reference(),
it.rinfo()->wasm_memory_size_reference() + diff, SKIP_ICACHE_FLUSH);
}
« no previous file with comments | « test/cctest/compiler/test-run-wasm-machops.cc ('k') | test/cctest/test-run-wasm-relocation-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698