|
|
DescriptionPut FunctionLiterals into temp_zone too.
This reduces memory usage when parsing (because temp_zones are discarded
every now and then) and work done by FuncNameInferrer.
BUG=
Committed: https://crrev.com/09a854c72b5954653e0f719fc17d4adbde43598c
Cr-Commit-Position: refs/heads/master@{#37863}
Patch Set 1 #Patch Set 2 : fix #Patch Set 3 : beautify #Patch Set 4 : fix comment -- for try jobs pls see previous patch #
Total comments: 1
Patch Set 5 : code review (titzer@) #
Messages
Total messages: 31 (19 generated)
The CQ bit was checked by marja@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: v8_mac_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel_ng/builds/5162) v8_mac_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel_ng_triggered/bui...)
The CQ bit was checked by marja@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by marja@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
marja@chromium.org changed reviewers: + titzer@chromium.org
titzer, ptal. I'm going to get rid of AstNodeFactory::BodyScope in the next CL, so this is an intermediate state. (After that CL, We wouldn't have parser_zone_ any more, and everything would go into local_zone_, especially Scopes and everything related to them.)
On 2016/07/18 11:47:48, marja wrote: > titzer, ptal. > > I'm going to get rid of AstNodeFactory::BodyScope in the next CL, so this is an > intermediate state. (After that CL, We wouldn't have parser_zone_ any more, and > everything would go into local_zone_, especially Scopes and everything related > to them.) Hmm, no, I'm not going to get rid of BodyScope, pls disregard that comment :)
https://codereview.chromium.org/2156013002/diff/60001/src/parsing/parser.h File src/parsing/parser.h (right): https://codereview.chromium.org/2156013002/diff/60001/src/parsing/parser.h#ne... src/parsing/parser.h:936: class DiscardableZoneScope { AFAICT the main difference between DiscardableZoneScope and AstNodeFactory::BodyScope is that the former contains one of the latter and also manipulates the function name inferrer. I don't really understand why function name inferrer needs to be swapped out. Also, can this class live in the .cc file?
The CQ bit was checked by marja@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
As discussed offline: - We need a temporary FuncNameInferrer so that we can put FunctionLiterals discovered in the lazily-compiled functions there. - Moved the DiscardableZoneScope into the .cc, made it so that it's not an inner class of Parser but a friend.
lgtm
The CQ bit was unchecked by marja@chromium.org
The CQ bit was checked by marja@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/19722)
marja@chromium.org changed reviewers: + rossberg@chromium.org
rossberg@, ptal (you're ast.h owner)
lgtm
The CQ bit was checked by marja@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #5 (id:80001)
Message was sent while issue was closed.
Description was changed from ========== Put FunctionLiterals into temp_zone too. This reduces memory usage when parsing (because temp_zones are discarded every now and then) and work done by FuncNameInferrer. BUG= ========== to ========== Put FunctionLiterals into temp_zone too. This reduces memory usage when parsing (because temp_zones are discarded every now and then) and work done by FuncNameInferrer. BUG= Committed: https://crrev.com/09a854c72b5954653e0f719fc17d4adbde43598c Cr-Commit-Position: refs/heads/master@{#37863} ==========
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/09a854c72b5954653e0f719fc17d4adbde43598c Cr-Commit-Position: refs/heads/master@{#37863} |