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

Unified Diff: src/compiler/wasm-compiler.cc

Issue 2903153002: [wasm] Increase WebAssembly.Memory maximum size to ~2GB (Closed)
Patch Set: Fix status again Created 3 years, 6 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 | « no previous file | src/wasm/wasm-limits.h » ('j') | src/wasm/wasm-limits.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/wasm-compiler.cc
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
index 0c11a6cf088ada0da681162cd36179d9bbe7dbd6..fc52f25f3c64e11677d555700d5d7d2bfa1399a9 100644
--- a/src/compiler/wasm-compiler.cc
+++ b/src/compiler/wasm-compiler.cc
@@ -2887,7 +2887,8 @@ Node* WasmGraphBuilder::MemBuffer(uint32_t offset) {
return mem_buffer_;
} else {
return jsgraph()->RelocatableIntPtrConstant(
- mem_start + offset, RelocInfo::WASM_MEMORY_REFERENCE);
+ static_cast<uintptr_t>(mem_start + offset),
+ RelocInfo::WASM_MEMORY_REFERENCE);
}
}
« no previous file with comments | « no previous file | src/wasm/wasm-limits.h » ('j') | src/wasm/wasm-limits.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698