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

Issue 1618693002: [Interpreter] Ensure context is popped when we break or continue (Closed)

Created:
4 years, 11 months ago by rmcilroy
Modified:
4 years, 11 months ago
Reviewers:
oth, Michael Starzinger
CC:
v8-reviews_googlegroups.com, oth, rmcilroy
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Ensure context is popped when we break or continue Break and continue operations need to pop the context chain to the correct context before jumping to the target. BUG=v8:4280, v8:4678 LOG=N Committed: https://crrev.com/847ac580f15edf36aa2f2bf0735ac0013c912a19 Cr-Commit-Position: refs/heads/master@{#33464}

Patch Set 1 #

Patch Set 2 : Add UNREACHABLE #

Total comments: 2

Patch Set 3 : Always pop #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -5 lines) Patch
M src/interpreter/bytecode-generator.cc View 1 2 3 5 chunks +14 lines, -4 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 2 3 3 chunks +102 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1618693002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618693002/20001
4 years, 11 months ago (2016-01-21 10:58:28 UTC) #2
rmcilroy
Michi / Orion, PTAL, thanks.
4 years, 11 months ago (2016-01-21 11:00:49 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-21 11:19:25 UTC) #6
oth
lgtm
4 years, 11 months ago (2016-01-21 12:53:22 UTC) #8
oth
lgtm
4 years, 11 months ago (2016-01-21 12:53:23 UTC) #9
Michael Starzinger
https://codereview.chromium.org/1618693002/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1618693002/diff/20001/src/interpreter/bytecode-generator.cc#newcode185 src/interpreter/bytecode-generator.cc:185: if (current->ShouldExecute(command, statement)) { As discussed offline: How would ...
4 years, 11 months ago (2016-01-21 13:25:20 UTC) #10
rmcilroy
https://codereview.chromium.org/1618693002/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1618693002/diff/20001/src/interpreter/bytecode-generator.cc#newcode185 src/interpreter/bytecode-generator.cc:185: if (current->ShouldExecute(command, statement)) { On 2016/01/21 13:25:20, Michael Starzinger ...
4 years, 11 months ago (2016-01-22 11:46:08 UTC) #11
Michael Starzinger
LGTM. Thanks!
4 years, 11 months ago (2016-01-22 11:47:59 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1618693002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618693002/60001
4 years, 11 months ago (2016-01-22 11:49:19 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-22 12:17:48 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1618693002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618693002/60001
4 years, 11 months ago (2016-01-22 12:40:52 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-22 12:42:06 UTC) #21
commit-bot: I haz the power
4 years, 11 months ago (2016-01-22 12:42:55 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/847ac580f15edf36aa2f2bf0735ac0013c912a19
Cr-Commit-Position: refs/heads/master@{#33464}

Powered by Google App Engine
This is Rietveld 408576698