Reviewers: ,

Message:
Hi Benedikt,
Here is a fix for the bug we saw the other day, where an IC slot is foolishly
allocated for a VariableProxy on the LHS of an assignment operation. (also
Property).
Thanks for the look,
--Michael

Description:
Stop overallocating feedback vector slots.

When a Property or a VariableProxy is used as the left hand side of an
assignment statement, there is no need to allocate a LOAD_IC feedback
vector slot for it. Alter the numbering phase to support this.

BUG=

Please review this at https://codereview.chromium.org/1262803002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+149, -22 lines):
  M src/ast.h
  M src/ast-numbering.cc
  M src/type-info.cc
  M test/cctest/test-feedback-vector.cc


--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to