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

Issue 2502633002: [parser] Only log messages using the pending error handling (Closed)

Created:
4 years, 1 month ago by Toon Verwaest
Modified:
4 years, 1 month ago
Reviewers:
vogelheim
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[parser] Only log messages using the pending error handling This shares the pending_error_handler from the parser to the preparser, allowing the preparser to directly log errors to it. This removes LogMessage from the loggers. ParserLogger::LogMessage was already unused, so this also removes error info from the preparse data altogether. BUG= Committed: https://crrev.com/8b649a41ec1332a20b5355a8647c36631304565e Cr-Commit-Position: refs/heads/master@{#40984}

Patch Set 1 #

Patch Set 2 : Delete more unused code #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -180 lines) Patch
M src/parsing/parser.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/parsing/parser.cc View 4 chunks +4 lines, -13 lines 0 comments Download
M src/parsing/preparse-data.h View 1 4 chunks +2 lines, -66 lines 0 comments Download
M src/parsing/preparse-data.cc View 1 1 chunk +1 line, -29 lines 0 comments Download
M src/parsing/preparse-data-format.h View 1 chunk +4 lines, -13 lines 0 comments Download
M src/parsing/preparser.h View 3 chunks +7 lines, -3 lines 0 comments Download
M src/parsing/preparser.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/pending-compilation-error-handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/pending-compilation-error-handler.cc View 1 chunk +18 lines, -9 lines 2 comments Download
M test/cctest/test-parsing.cc View 13 chunks +31 lines, -44 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Toon Verwaest
ptal
4 years, 1 month ago (2016-11-14 13:57:42 UTC) #2
vogelheim
lgtm https://codereview.chromium.org/2502633002/diff/20001/src/pending-compilation-error-handler.cc File src/pending-compilation-error-handler.cc (right): https://codereview.chromium.org/2502633002/diff/20001/src/pending-compilation-error-handler.cc#newcode28 src/pending-compilation-error-handler.cc:28: Handle<String> PendingCompilationErrorHandler::FormatMessage(Isolate* isolate) { Who calls this? Is ...
4 years, 1 month ago (2016-11-15 08:43:42 UTC) #7
Toon Verwaest
https://codereview.chromium.org/2502633002/diff/20001/src/pending-compilation-error-handler.cc File src/pending-compilation-error-handler.cc (right): https://codereview.chromium.org/2502633002/diff/20001/src/pending-compilation-error-handler.cc#newcode28 src/pending-compilation-error-handler.cc:28: Handle<String> PendingCompilationErrorHandler::FormatMessage(Isolate* isolate) { On 2016/11/15 08:43:42, vogelheim wrote: ...
4 years, 1 month ago (2016-11-15 10:12:24 UTC) #8
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/2502633002/20001
4 years, 1 month ago (2016-11-15 10:13:48 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-15 10:15:49 UTC) #11
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:33:39 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8b649a41ec1332a20b5355a8647c36631304565e
Cr-Commit-Position: refs/heads/master@{#40984}

Powered by Google App Engine
This is Rietveld 408576698