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

Issue 1923253002: [generators] Create the fixed array holding the registers only once. (Closed)

Created:
4 years, 7 months ago by neis
Modified:
4 years, 7 months ago
CC:
v8-reviews_googlegroups.com, oth, Hannes Payer (out of office), ulan, rmcilroy
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[generators] Create the fixed array holding the registers only once. Instead of replacing the array with an empty one after resuming, overwrite contents with a new Oddball. This will simplify the work to be done by the bytecode graphbuilder and potentially allow for more optimization. (For full-codegen generators, nothing changes.) BUG=v8:4907 LOG=n Committed: https://crrev.com/dd47dcb95ce55c043a8c0b20152f6db150325462 Cr-Commit-Position: refs/heads/master@{#35872}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rename Placeholder to StaleRegister #

Total comments: 9

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -20 lines) Patch
M src/bailout-reason.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/code-stub-assembler.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/heap/heap.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M src/interpreter/interpreter-assembler.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 2 4 chunks +18 lines, -11 lines 0 comments Download
M src/objects.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M src/objects-debug.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M src/runtime/runtime-generator.cc View 1 chunk +10 lines, -1 line 0 comments Download

Messages

Total messages: 31 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923253002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923253002/1
4 years, 7 months ago (2016-04-27 11:34:22 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 11:58:33 UTC) #7
neis
PTAL
4 years, 7 months ago (2016-04-27 11:59:34 UTC) #9
rmcilroy
https://codereview.chromium.org/1923253002/diff/1/src/interpreter/interpreter-assembler.cc File src/interpreter/interpreter-assembler.cc (right): https://codereview.chromium.org/1923253002/diff/1/src/interpreter/interpreter-assembler.cc#newcode767 src/interpreter/interpreter-assembler.cc:767: StoreFixedArrayElementInt32Index(array, index, PlaceholderConstant()); How about just filling the array ...
4 years, 7 months ago (2016-04-27 12:20:04 UTC) #10
Benedikt Meurer
Looking good modulo the naming. https://codereview.chromium.org/1923253002/diff/1/src/interpreter/interpreter-assembler.cc File src/interpreter/interpreter-assembler.cc (right): https://codereview.chromium.org/1923253002/diff/1/src/interpreter/interpreter-assembler.cc#newcode767 src/interpreter/interpreter-assembler.cc:767: StoreFixedArrayElementInt32Index(array, index, PlaceholderConstant()); On ...
4 years, 7 months ago (2016-04-27 17:46:02 UTC) #11
rmcilroy
https://codereview.chromium.org/1923253002/diff/1/src/interpreter/interpreter-assembler.cc File src/interpreter/interpreter-assembler.cc (right): https://codereview.chromium.org/1923253002/diff/1/src/interpreter/interpreter-assembler.cc#newcode767 src/interpreter/interpreter-assembler.cc:767: StoreFixedArrayElementInt32Index(array, index, PlaceholderConstant()); On 2016/04/27 17:46:02, Benedikt Meurer wrote: ...
4 years, 7 months ago (2016-04-28 08:05:49 UTC) #12
neis
Renamed as requested.
4 years, 7 months ago (2016-04-28 08:30:06 UTC) #13
rmcilroy
https://codereview.chromium.org/1923253002/diff/20001/src/interpreter/interpreter-assembler.cc File src/interpreter/interpreter-assembler.cc (right): https://codereview.chromium.org/1923253002/diff/20001/src/interpreter/interpreter-assembler.cc#newcode721 src/interpreter/interpreter-assembler.cc:721: Maybe we could add if (FLAG_debug_code) which checks that ...
4 years, 7 months ago (2016-04-28 11:40:58 UTC) #14
neis
https://codereview.chromium.org/1923253002/diff/20001/src/interpreter/interpreter-assembler.cc File src/interpreter/interpreter-assembler.cc (right): https://codereview.chromium.org/1923253002/diff/20001/src/interpreter/interpreter-assembler.cc#newcode721 src/interpreter/interpreter-assembler.cc:721: On 2016/04/28 11:40:57, rmcilroy wrote: > Maybe we could ...
4 years, 7 months ago (2016-04-28 11:47:22 UTC) #15
neis
https://codereview.chromium.org/1923253002/diff/20001/src/interpreter/interpreter-assembler.cc File src/interpreter/interpreter-assembler.cc (right): https://codereview.chromium.org/1923253002/diff/20001/src/interpreter/interpreter-assembler.cc#newcode721 src/interpreter/interpreter-assembler.cc:721: On 2016/04/28 11:47:21, neis wrote: > On 2016/04/28 11:40:57, ...
4 years, 7 months ago (2016-04-28 12:05:25 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923253002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923253002/40001
4 years, 7 months ago (2016-04-28 12:50:36 UTC) #18
neis
Comments addressed. @hpayer: Please have a look at heap changes.
4 years, 7 months ago (2016-04-28 12:54:43 UTC) #20
rmcilroy
LGTM, thanks.
4 years, 7 months ago (2016-04-28 13:21:07 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-28 13:25:53 UTC) #23
ulan
heap lgtm
4 years, 7 months ago (2016-04-28 14:51:17 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923253002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923253002/40001
4 years, 7 months ago (2016-04-28 14:52:22 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-28 14:54:46 UTC) #29
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 22:02:45 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dd47dcb95ce55c043a8c0b20152f6db150325462
Cr-Commit-Position: refs/heads/master@{#35872}

Powered by Google App Engine
This is Rietveld 408576698