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

Issue 1854713002: Correctly annotate eval origin. (Closed)

Created:
4 years, 8 months ago by Yang
Modified:
4 years, 8 months ago
Reviewers:
Michael Starzinger
CC:
v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com, oth, rmcilroy, Hannes Payer (out of office), ulan
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Correctly annotate eval origin. There were a couple of issues with it: - interpreter is not supported - the source position was just accidentally correct for full-codegen - the eval origin could have been cached Also fixes a few other places to use AbstractCode. R=mstarzinger@chromium.org Committed: https://crrev.com/2f3a171adc9e620c2235bf0562145b9d4eaba66d Cr-Commit-Position: refs/heads/master@{#35257} Committed: https://crrev.com/ad4e8a27963b704bb70ec8bac0991c57296b1d16 Cr-Commit-Position: refs/heads/master@{#35481} Committed: https://crrev.com/89d7bfda0d3d3ed48a174a2851cfe5da0b31f056 Cr-Commit-Position: refs/heads/master@{#35581}

Patch Set 1 #

Patch Set 2 : ports #

Patch Set 3 : fix mips64 #

Total comments: 3

Patch Set 4 : address comments #

Patch Set 5 : fix + rebase #

Patch Set 6 : fix performance issues #

Patch Set 7 : use scope position instead of eval call position #

Patch Set 8 : small fixes and golden files #

Patch Set 9 : fix interpreter #

Patch Set 10 : fix test #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -154 lines) Patch
M src/accessors.cc View 1 2 3 4 1 chunk +2 lines, -5 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -5 lines 0 comments Download
M src/builtins.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +15 lines, -4 lines 0 comments Download
M src/compiler.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +9 lines, -6 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download
M src/debug/debug.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M src/debug/debug.cc View 1 2 3 4 8 chunks +6 lines, -27 lines 0 comments Download
M src/debug/debug-evaluate.cc View 1 2 3 4 5 6 1 chunk +6 lines, -5 lines 0 comments Download
M src/debug/debug-frames.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/debug/liveedit.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/factory.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/frames.h View 1 2 3 4 3 chunks +6 lines, -3 lines 0 comments Download
M src/frames.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -3 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 4 chunks +8 lines, -5 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 2 3 4 5 6 7 8 9 4 chunks +7 lines, -5 lines 0 comments Download
M src/full-codegen/full-codegen.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 2 3 4 5 6 7 8 9 4 chunks +7 lines, -4 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 2 3 4 5 6 7 8 9 3 chunks +17 lines, -14 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 2 3 4 5 6 7 8 9 4 chunks +8 lines, -5 lines 0 comments Download
M src/full-codegen/s390/full-codegen-s390.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 2 3 4 5 6 7 8 9 4 chunks +7 lines, -4 lines 0 comments Download
M src/full-codegen/x87/full-codegen-x87.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +7 lines, -4 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -3 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -4 lines 0 comments Download
M src/objects.h View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -2 lines 0 comments Download
M src/objects-printer.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -3 lines 0 comments Download
M src/runtime/runtime-compiler.cc View 1 2 3 4 5 6 4 chunks +6 lines, -7 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -3 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Eval.golden View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -3 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/LookupSlot.golden View 1 2 3 4 5 6 7 8 6 chunks +15 lines, -9 lines 0 comments Download
A test/mjsunit/eval-origin.js View 1 2 3 4 5 6 7 8 9 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 51 (26 generated)
Yang
Please take a look. I'll port to other platforms later.
4 years, 8 months ago (2016-04-01 13:33:49 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1854713002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1854713002/20001
4 years, 8 months ago (2016-04-04 09:46:23 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_mips64el_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_mips64el_compile_rel/builds/12537)
4 years, 8 months ago (2016-04-04 09:53:18 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1854713002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1854713002/40001
4 years, 8 months ago (2016-04-04 10:59:11 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-04 11:23:16 UTC) #9
Yang
On 2016/04/04 11:23:16, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 8 months ago (2016-04-05 09:33:15 UTC) #10
Michael Starzinger
LGTM. I like it. Only nits. https://codereview.chromium.org/1854713002/diff/40001/src/frames.h File src/frames.h (right): https://codereview.chromium.org/1854713002/diff/40001/src/frames.h#newcode903 src/frames.h:903: void PatchBytecodeArray(Object* bytecode_array); ...
4 years, 8 months ago (2016-04-05 09:56:49 UTC) #11
Yang
On 2016/04/05 09:56:49, Michael Starzinger wrote: > LGTM. I like it. Only nits. > > ...
4 years, 8 months ago (2016-04-05 11:01:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1854713002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1854713002/60001
4 years, 8 months ago (2016-04-05 11:01:31 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-05 11:30:28 UTC) #16
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/2f3a171adc9e620c2235bf0562145b9d4eaba66d Cr-Commit-Position: refs/heads/master@{#35257}
4 years, 8 months ago (2016-04-05 11:31:55 UTC) #18
Michael Achenbach
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1858773004/ by machenbach@chromium.org. ...
4 years, 8 months ago (2016-04-05 13:00:26 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1854713002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1854713002/80001
4 years, 8 months ago (2016-04-14 09:44:01 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-14 10:07:56 UTC) #25
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/ad4e8a27963b704bb70ec8bac0991c57296b1d16 Cr-Commit-Position: refs/heads/master@{#35481}
4 years, 8 months ago (2016-04-14 10:08:23 UTC) #27
Yang
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1888013002/ by yangguo@chromium.org. ...
4 years, 8 months ago (2016-04-14 12:44:42 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1854713002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1854713002/100001
4 years, 8 months ago (2016-04-14 13:40:51 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/149) v8_linux64_asan_rel_ng_triggered on tryserver.v8 (JOB_FAILED, ...
4 years, 8 months ago (2016-04-14 13:54:43 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1854713002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1854713002/140001
4 years, 8 months ago (2016-04-15 06:56:36 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/183) v8_linux64_asan_rel_ng_triggered on tryserver.v8 (JOB_FAILED, ...
4 years, 8 months ago (2016-04-15 07:11:27 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1854713002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1854713002/160001
4 years, 8 months ago (2016-04-15 07:40:59 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_nodcheck_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel_ng/builds/193) v8_linux_nodcheck_rel_ng_triggered on tryserver.v8 (JOB_FAILED, ...
4 years, 8 months ago (2016-04-15 08:03:30 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1854713002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1854713002/200001
4 years, 8 months ago (2016-04-18 12:56:59 UTC) #47
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 8 months ago (2016-04-18 13:20:51 UTC) #49
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 13:21:13 UTC) #51
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/89d7bfda0d3d3ed48a174a2851cfe5da0b31f056
Cr-Commit-Position: refs/heads/master@{#35581}

Powered by Google App Engine
This is Rietveld 408576698