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

Issue 2488493003: [inspector] fix positions for single expression arrow function (Closed)

Created:
4 years, 1 month ago by kozy
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] fix positions for single expression arrow function Currently function like "() => 239" contains offset 3 as begin of function and 8 as end of function. This CL changes this to 6 and 9 respectively. BUG=chromium:566801 R=yangguo@chromium.org,dgozman@chromium.org TBR=adamk@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/dd4ce25cdea9185bfeb1918e62066167378f2bb9 Cr-Commit-Position: refs/heads/master@{#40864}

Patch Set 1 #

Total comments: 5

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -63 lines) Patch
M src/ast/ast.h View 1 6 chunks +11 lines, -4 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 1 chunk +1 line, -3 lines 0 comments Download
M src/parsing/parser.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M src/parsing/parser-base.h View 1 5 chunks +7 lines, -3 lines 0 comments Download
M src/parsing/preparser.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M test/inspector/debugger/get-possible-breakpoints.js View 3 chunks +20 lines, -2 lines 0 comments Download
M test/inspector/debugger/get-possible-breakpoints-expected.txt View 1 23 chunks +194 lines, -45 lines 0 comments Download

Messages

Total messages: 38 (22 generated)
kozy
Dmitry and Yang, please take a look. I fixed some issues related to positions inside ...
4 years, 1 month ago (2016-11-08 01:33:06 UTC) #1
dgozman
Exciting stuff! https://codereview.chromium.org/2488493003/diff/1/src/full-codegen/full-codegen.cc File src/full-codegen/full-codegen.cc (right): https://codereview.chromium.org/2488493003/diff/1/src/full-codegen/full-codegen.cc#newcode682 src/full-codegen/full-codegen.cc:682: void FullCodeGenerator::SetReturnPosition(FunctionLiteral* fun) { Do we have ...
4 years, 1 month ago (2016-11-08 01:37:14 UTC) #4
Yang
https://codereview.chromium.org/2488493003/diff/1/src/ast/ast.h File src/ast/ast.h (right): https://codereview.chromium.org/2488493003/diff/1/src/ast/ast.h#newcode2712 src/ast/ast.h:2712: return body_->length() == 1 && I think adding another ...
4 years, 1 month ago (2016-11-08 12:23:33 UTC) #7
kozy
All done, please take a look! https://codereview.chromium.org/2488493003/diff/1/src/ast/ast.h File src/ast/ast.h (right): https://codereview.chromium.org/2488493003/diff/1/src/ast/ast.h#newcode2712 src/ast/ast.h:2712: return body_->length() == ...
4 years, 1 month ago (2016-11-08 16:28:45 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/2488493003/20001
4 years, 1 month ago (2016-11-08 16:47:18 UTC) #13
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 1 month ago (2016-11-08 16:47:19 UTC) #15
Yang
On 2016/11/08 16:47:19, commit-bot: I haz the power wrote: > No L-G-T-M from a valid ...
4 years, 1 month ago (2016-11-09 06:19:22 UTC) #21
Yang
On 2016/11/09 06:19:22, Yang wrote: > On 2016/11/08 16:47:19, commit-bot: I haz the power wrote: ...
4 years, 1 month ago (2016-11-09 06:57:10 UTC) #22
kozy
On 2016/11/09 06:57:10, Yang wrote: > On 2016/11/09 06:19:22, Yang wrote: > > On 2016/11/08 ...
4 years, 1 month ago (2016-11-09 07:25:11 UTC) #24
Yang
LGTM.
4 years, 1 month ago (2016-11-09 07:53:23 UTC) #25
Benedikt Meurer
LGTM (rubber-stamped)
4 years, 1 month ago (2016-11-09 07:54:23 UTC) #27
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/2488493003/20001
4 years, 1 month ago (2016-11-09 14:29:33 UTC) #29
commit-bot: I haz the power
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/28153)
4 years, 1 month ago (2016-11-09 14:32:52 UTC) #31
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/2488493003/20001
4 years, 1 month ago (2016-11-09 15:35:15 UTC) #34
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-09 15:36:59 UTC) #36
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:27:40 UTC) #38
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dd4ce25cdea9185bfeb1918e62066167378f2bb9
Cr-Commit-Position: refs/heads/master@{#40864}

Powered by Google App Engine
This is Rietveld 408576698