Reviewers: Vyacheslav Egorov,

Description:
Ensure there is a smi check of the receiver for global load and call ICs.

There was a comment that, for such ICs specialized to the global object,
they were always contextual loads.  This is very brittle.  It is a
micro-optimization that relies too much on the way that things happen to
work today.

Instead, never omit the smi check because it's safer.

[email protected]
BUG=
TEST=


Please review this at https://chromiumcodereview.appspot.com/9691038/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/arm/stub-cache-arm.cc
  M src/ia32/stub-cache-ia32.cc
  M src/mips/stub-cache-mips.cc
  M src/x64/stub-cache-x64.cc
  A test/mjsunit/regress/regress-117794.js


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to