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

Issue 2208043002: [interpreter] Remove redundant code in ForInPrepare (Closed)

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

Description

[interpreter] Remove redundant code in ForInPrepare ForInPrepare checked whether the receiver object was null, undefined or converted to a JSObject. This is already done by the generated bytecode. BUG=v8:4820 LOG=n Committed: https://crrev.com/4732c219b0d263bde01f624e325e0865aba65834 Cr-Commit-Position: refs/heads/master@{#38394}

Patch Set 1 #

Total comments: 6

Patch Set 2 : add debug abort and comments #

Patch Set 3 : fix golden file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -50 lines) Patch
M src/bailout-reason.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 chunks +24 lines, -46 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Generators.golden View 1 2 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
klaasb
4 years, 4 months ago (2016-08-03 16:32:21 UTC) #4
rmcilroy
https://codereview.chromium.org/2208043002/diff/1/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (left): https://codereview.chromium.org/2208043002/diff/1/src/interpreter/interpreter.cc#oldcode1947 src/interpreter/interpreter.cc:1947: &nothing_to_iterate, &convert_to_receiver); I think we still need the null ...
4 years, 4 months ago (2016-08-04 14:06:35 UTC) #7
klaasb
https://codereview.chromium.org/2208043002/diff/1/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (left): https://codereview.chromium.org/2208043002/diff/1/src/interpreter/interpreter.cc#oldcode1947 src/interpreter/interpreter.cc:1947: &nothing_to_iterate, &convert_to_receiver); On 2016/08/04 14:06:35, rmcilroy wrote: > I ...
4 years, 4 months ago (2016-08-04 15:20:54 UTC) #8
rmcilroy
LGTM with nits, thanks. https://codereview.chromium.org/2208043002/diff/1/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/2208043002/diff/1/src/interpreter/interpreter.cc#newcode1913 src/interpreter/interpreter.cc:1913: // ForInPrepare <cache_info_triple> I know ...
4 years, 4 months ago (2016-08-04 15:41:46 UTC) #9
klaasb
https://codereview.chromium.org/2208043002/diff/1/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/2208043002/diff/1/src/interpreter/interpreter.cc#newcode1913 src/interpreter/interpreter.cc:1913: // ForInPrepare <cache_info_triple> On 2016/08/04 15:41:45, rmcilroy wrote: > ...
4 years, 4 months ago (2016-08-05 16:08:34 UTC) #10
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/2208043002/20001
4 years, 4 months ago (2016-08-05 16:39:25 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/1840) v8_linux64_gyp_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
4 years, 4 months ago (2016-08-05 16:52:55 UTC) #15
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/2208043002/40001
4 years, 4 months ago (2016-08-05 17:11:50 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-05 17:33:54 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 17:36:13 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4732c219b0d263bde01f624e325e0865aba65834
Cr-Commit-Position: refs/heads/master@{#38394}

Powered by Google App Engine
This is Rietveld 408576698