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

Issue 2410763002: [wasm] GrowMemory should use maximum size declared in WebAssembly.Memory (Closed)

Created:
4 years, 2 months ago by gdeepti
Modified:
4 years, 1 month ago
Reviewers:
titzer, bradnelson
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] GrowMemory should use maximum size declared in WebAssembly.Memory BUG= Committed: https://crrev.com/0c6354e03b84f41322edf45b81dc4ddb0394b187 Cr-Commit-Position: refs/heads/master@{#40411}

Patch Set 1 #

Patch Set 2 : Separate refactoring, add test #

Total comments: 2

Patch Set 3 : Implement Memory.Grow, tests #

Patch Set 4 : Fix test #

Patch Set 5 : Fix error #

Patch Set 6 : Formatting #

Total comments: 22

Patch Set 7 : Brad's review #

Patch Set 8 : Format #

Total comments: 6

Patch Set 9 : Fix trybots, Brad's review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -24 lines) Patch
M src/wasm/wasm-js.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M src/wasm/wasm-js.cc View 1 2 3 4 5 6 7 8 7 chunks +77 lines, -14 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 6 7 8 3 chunks +18 lines, -8 lines 0 comments Download
M test/mjsunit/wasm/import-memory.js View 1 2 3 4 5 6 7 8 3 chunks +72 lines, -2 lines 0 comments Download

Messages

Total messages: 46 (35 generated)
titzer
Looks like this is headed in the right direction. https://codereview.chromium.org/2410763002/diff/20001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2410763002/diff/20001/src/wasm/wasm-module.cc#newcode105 src/wasm/wasm-module.cc:105: ...
4 years, 2 months ago (2016-10-11 08:30:06 UTC) #4
gdeepti
https://codereview.chromium.org/2410763002/diff/20001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2410763002/diff/20001/src/wasm/wasm-module.cc#newcode105 src/wasm/wasm-module.cc:105: enum WasmMemoryObjectData { On 2016/10/11 08:30:06, titzer wrote: > ...
4 years, 2 months ago (2016-10-16 15:39:58 UTC) #22
bradnelson
https://codereview.chromium.org/2410763002/diff/100001/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/2410763002/diff/100001/src/wasm/wasm-js.cc#newcode593 src/wasm/wasm-js.cc:593: i::Handle<i::Object> instance_object(receiver->GetInternalField(2), where's this 2 come from? https://codereview.chromium.org/2410763002/diff/100001/src/wasm/wasm-js.cc#newcode601 src/wasm/wasm-js.cc:601: ...
4 years, 2 months ago (2016-10-17 22:13:25 UTC) #25
bradnelson
https://codereview.chromium.org/2410763002/diff/100001/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/2410763002/diff/100001/src/wasm/wasm-js.cc#newcode589 src/wasm/wasm-js.cc:589: uint32_t delta = args[0]->Uint32Value(context).FromJust(); Still not groking from before. ...
4 years, 2 months ago (2016-10-17 22:23:26 UTC) #27
gdeepti
https://codereview.chromium.org/2410763002/diff/100001/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/2410763002/diff/100001/src/wasm/wasm-js.cc#newcode589 src/wasm/wasm-js.cc:589: uint32_t delta = args[0]->Uint32Value(context).FromJust(); On 2016/10/17 22:23:26, bradnelson wrote: ...
4 years, 2 months ago (2016-10-18 02:34:18 UTC) #30
bradnelson
lgtm https://codereview.chromium.org/2410763002/diff/100001/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/2410763002/diff/100001/src/wasm/wasm-js.cc#newcode589 src/wasm/wasm-js.cc:589: uint32_t delta = args[0]->Uint32Value(context).FromJust(); On 2016/10/18 02:34:17, gdeepti ...
4 years, 2 months ago (2016-10-18 04:29:39 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2410763002/160001
4 years, 2 months ago (2016-10-18 22:14:28 UTC) #40
gdeepti
https://codereview.chromium.org/2410763002/diff/140001/test/mjsunit/wasm/import-memory.js File test/mjsunit/wasm/import-memory.js (right): https://codereview.chromium.org/2410763002/diff/140001/test/mjsunit/wasm/import-memory.js#newcode118 test/mjsunit/wasm/import-memory.js:118: builder.addImportedMemory("mine"); On 2016/10/18 04:29:38, bradnelson wrote: > Maybe make ...
4 years, 2 months ago (2016-10-18 22:15:06 UTC) #41
gdeepti
4 years, 2 months ago (2016-10-18 22:15:08 UTC) #42
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 2 months ago (2016-10-18 22:19:31 UTC) #44
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:05:18 UTC) #46
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/0c6354e03b84f41322edf45b81dc4ddb0394b187
Cr-Commit-Position: refs/heads/master@{#40411}

Powered by Google App Engine
This is Rietveld 408576698