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

Unified Diff: src/wasm/wasm-module.h

Issue 2396473003: [wasm] Refactor GrowMemory runtime call. (Closed)
Patch Set: Rebase again for weird trybot failures Created 4 years, 2 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
Index: src/wasm/wasm-module.h
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
index ce936e2da69e565564d2c7bbb1691907974eb5c5..6dae240f0c45d2e8b56376e5f7f87a7ac8677221 100644
--- a/src/wasm/wasm-module.h
+++ b/src/wasm/wasm-module.h
@@ -516,6 +516,9 @@ MaybeHandle<JSArrayBuffer> GetInstanceMemory(Isolate* isolate,
Handle<JSObject> instance);
void SetInstanceMemory(Handle<JSObject> instance, JSArrayBuffer* buffer);
Mircea Trofin 2016/10/04 22:01:53 We can delete SetInstanceMemory, I think. It was t
gdeepti 2016/10/05 02:59:57 Removed from header, retaining in wasm-module.cc f
+int32_t GrowInstanceMemory(Isolate* isolate, Handle<JSObject> instance,
+ uint32_t pages);
+
namespace testing {
void ValidateInstancesChain(Isolate* isolate, Handle<JSObject> module_obj,
« no previous file with comments | « src/runtime/runtime-wasm.cc ('k') | src/wasm/wasm-module.cc » ('j') | src/wasm/wasm-module.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698