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

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

Issue 2935243002: Revert of [wasm] Increase WebAssembly.Memory maximum size to ~2GB (Closed)
Patch Set: 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') | no next file with comments »
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 3876a1248d192a98471bc567ba64bd20f9d9e358..6466d778d25e880dfc58c18e16b5321777c9940b 100644
--- a/src/compiler/wasm-compiler.cc
+++ b/src/compiler/wasm-compiler.cc
@@ -2899,8 +2899,7 @@
return mem_buffer_;
} else {
return jsgraph()->RelocatableIntPtrConstant(
- static_cast<uintptr_t>(mem_start + offset),
- RelocInfo::WASM_MEMORY_REFERENCE);
+ mem_start + offset, RelocInfo::WASM_MEMORY_REFERENCE);
}
}
« no previous file with comments | « no previous file | src/wasm/wasm-limits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698