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

Issue 701093003: Correctly compute line numbers in functions from the function constructor. (Closed)

Created:
6 years, 1 month ago by Yang
Modified:
6 years, 1 month ago
Reviewers:
aandrey
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Correctly compute line numbers in functions from the function constructor. R=aandrey@chromium.org BUG=chromium:109362 LOG=Y Committed: https://code.google.com/p/v8/source/detail?r=25289

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed comments #

Total comments: 1

Patch Set 3 : addressed comment #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -60 lines) Patch
M src/cpu-profiler.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/generator.js View 1 2 3 1 chunk +1 line, -7 lines 0 comments Download
M src/messages.js View 1 2 3 4 1 chunk +14 lines, -22 lines 0 comments Download
M src/objects.cc View 1 2 3 4 1 chunk +18 lines, -14 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/runtime/runtime-compiler.cc View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download
M src/v8natives.js View 1 2 3 4 3 chunks +10 lines, -11 lines 0 comments Download
M test/message/single-function-literal.js View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
A test/mjsunit/regress/regress-crbug-109362.js View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Yang
6 years, 1 month ago (2014-11-05 10:08:04 UTC) #1
Yang
ping
6 years, 1 month ago (2014-11-10 20:16:26 UTC) #2
aandrey
https://codereview.chromium.org/701093003/diff/1/src/v8natives.js File src/v8natives.js (left): https://codereview.chromium.org/701093003/diff/1/src/v8natives.js#oldcode1862 src/v8natives.js:1862: %FunctionMarkNameShouldPrintAsAnonymous(f); you should also update src/generator.js https://codereview.chromium.org/701093003/diff/1/test/mjsunit/regress/regress-crbug-109362.js File test/mjsunit/regress/regress-crbug-109362.js ...
6 years, 1 month ago (2014-11-10 20:38:18 UTC) #3
Yang
https://codereview.chromium.org/701093003/diff/1/src/v8natives.js File src/v8natives.js (left): https://codereview.chromium.org/701093003/diff/1/src/v8natives.js#oldcode1862 src/v8natives.js:1862: %FunctionMarkNameShouldPrintAsAnonymous(f); On 2014/11/10 20:38:18, aandrey wrote: > you should ...
6 years, 1 month ago (2014-11-11 09:51:55 UTC) #4
aandrey
https://codereview.chromium.org/701093003/diff/20001/test/mjsunit/regress/regress-crbug-109362.js File test/mjsunit/regress/regress-crbug-109362.js (right): https://codereview.chromium.org/701093003/diff/20001/test/mjsunit/regress/regress-crbug-109362.js#newcode14 test/mjsunit/regress/regress-crbug-109362.js:14: var g = new Function('\n 1 + reference_error //@ ...
6 years, 1 month ago (2014-11-11 10:07:38 UTC) #5
Yang
On 2014/11/11 10:07:38, aandrey wrote: > https://codereview.chromium.org/701093003/diff/20001/test/mjsunit/regress/regress-crbug-109362.js > File test/mjsunit/regress/regress-crbug-109362.js (right): > > https://codereview.chromium.org/701093003/diff/20001/test/mjsunit/regress/regress-crbug-109362.js#newcode14 > ...
6 years, 1 month ago (2014-11-11 10:18:12 UTC) #6
aandrey
Nice fix! LGTM
6 years, 1 month ago (2014-11-11 10:25:58 UTC) #7
Yang
Committed patchset #5 (id:80001) manually as 25289 (presubmit successful).
6 years, 1 month ago (2014-11-12 10:06:32 UTC) #8
kozy
5 years, 8 months ago (2015-04-01 04:54:33 UTC) #9
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/1053563002/ by kozyatinskiy@chromium.org.

The reason for reverting is: Locations from New Function are broken in
DevTools..

Powered by Google App Engine
This is Rietveld 408576698