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

Issue 2551023004: [ignition] Fix hole check for dynamic local variables (Closed)

Created:
4 years ago by Leszek Swirski
Modified:
4 years ago
Reviewers:
neis, adamk, rmcilroy
CC:
v8-reviews_googlegroups.com, rmcilroy
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ignition] Fix hole check for dynamic local variables The fast-path for dynamic local variables was previously checking the lookup variable rather than the shadowed variable when deciding whether to add a hole check. BUG=669540 Committed: https://crrev.com/f6ee3b5ff36c00112b01a82ced154f5b22731ace Cr-Commit-Position: refs/heads/master@{#41677}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Move shadowed variable check to AccessNeedsHoleCheck #

Total comments: 1

Patch Set 3 : Add a DCHECK and a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
M src/ast/scopes.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-crbug-669540.js View 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (15 generated)
Leszek Swirski
Adam and Georg, could you please check the correctness of this fix for crbug.com/669540? Notably, ...
4 years ago (2016-12-05 17:11:14 UTC) #6
rmcilroy
https://codereview.chromium.org/2551023004/diff/1/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/2551023004/diff/1/src/interpreter/bytecode-generator.cc#newcode1863 src/interpreter/bytecode-generator.cc:1863: if (local_variable->binding_needs_init()) { This seems a bit hacky, I ...
4 years ago (2016-12-05 19:18:08 UTC) #8
Leszek Swirski
https://codereview.chromium.org/2551023004/diff/1/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/2551023004/diff/1/src/interpreter/bytecode-generator.cc#newcode1863 src/interpreter/bytecode-generator.cc:1863: if (local_variable->binding_needs_init()) { On 2016/12/05 19:18:07, rmcilroy wrote: > ...
4 years ago (2016-12-05 19:42:37 UTC) #9
adamk
https://codereview.chromium.org/2551023004/diff/1/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/2551023004/diff/1/src/interpreter/bytecode-generator.cc#newcode1863 src/interpreter/bytecode-generator.cc:1863: if (local_variable->binding_needs_init()) { On 2016/12/05 19:42:37, Leszek Swirski wrote: ...
4 years ago (2016-12-06 19:16:42 UTC) #10
Leszek Swirski
https://codereview.chromium.org/2551023004/diff/1/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/2551023004/diff/1/src/interpreter/bytecode-generator.cc#newcode1863 src/interpreter/bytecode-generator.cc:1863: if (local_variable->binding_needs_init()) { On 2016/12/06 19:16:42, adamk wrote: > ...
4 years ago (2016-12-07 16:09:52 UTC) #13
adamk
lgtm once you add a DCHECK and a comment https://codereview.chromium.org/2551023004/diff/20001/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2551023004/diff/20001/src/ast/scopes.cc#newcode1654 src/ast/scopes.cc:1654: ...
4 years ago (2016-12-07 17:37:41 UTC) #16
Leszek Swirski
On 2016/12/07 17:37:41, adamk wrote: > lgtm once you add a DCHECK and a comment ...
4 years ago (2016-12-13 14:00:47 UTC) #17
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/2551023004/40001
4 years ago (2016-12-13 14:00:57 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-13 14:28:27 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-13 14:29:20 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f6ee3b5ff36c00112b01a82ced154f5b22731ace
Cr-Commit-Position: refs/heads/master@{#41677}

Powered by Google App Engine
This is Rietveld 408576698