f13c807eac
Currently, only one memory is supported. For memory, we would use name as follows. 1. If import: use <import_module>.<field_name> from WasmImport. 2. If export: use <field_name> from WasmExport. 3. Use memory<index>. Doc: https://docs.google.com/document/d/1XoXWONLBgZWQ9dhtoMpQPvD0fnnWA50OorsuSXfME3g Bug: v8:10242 Change-Id: Ifd342bcd86ac302f5b43f2ee88a8ea21a28b5a0f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2132724 Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com> Reviewed-by: Clemens Backes <clemensb@chromium.org> Reviewed-by: Kim-Anh Tran <kimanh@chromium.org> Cr-Commit-Position: refs/heads/master@{#67020}
20 lines
420 B
Plaintext
20 lines
420 B
Plaintext
Test wasm memory names
|
|
Waiting for wasm script to be parsed.
|
|
Setting breakpoint in wasm.
|
|
Running main.
|
|
Paused in debugger.
|
|
name: memory0
|
|
Finished.
|
|
Waiting for wasm script to be parsed.
|
|
Setting breakpoint in wasm.
|
|
Running main.
|
|
Paused in debugger.
|
|
name: exported_memory
|
|
Finished.
|
|
Waiting for wasm script to be parsed.
|
|
Setting breakpoint in wasm.
|
|
Running main.
|
|
Paused in debugger.
|
|
name: module_name.imported_mem
|
|
Finished.
|