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 //@ sourceURL=evaltest');
I meant:
var g = eval('(function () {\n 1 + reference_error //@
sourceURL=evaltest\n})')
Otherwise, it is the same test case as above.
I'm asking because AFAIU this change will also affect eval(), which is
wrong. I think we should set -1 line offset only for new Function(), but
not for eval().
https://codereview.chromium.org/701093003/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.