Reviewers: dcarney,

Message:
PTAL

Description:
[turbofan] Improve typed lowering for JSToBoolean.

- JSToBoolean(x:string) => BooleanNot(NumberEqual(x.length, #0))
- JSToBoolean(phi(x1,...,xn):primitive) =>
phi(JSToBoolean(x1),...,JSToBoolean(xn))

TEST=cctest,mjsunit/asm/do-while,mjsunit/boolean,unittests

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

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

Affected files (+147, -11 lines):
  M src/compiler/access-builder.h
  M src/compiler/access-builder.cc
  M src/compiler/js-typed-lowering.cc
  M test/cctest/compiler/test-js-typed-lowering.cc
  A test/mjsunit/asm/do-while.js
  M test/mjsunit/boolean.js
  M test/unittests/compiler/js-typed-lowering-unittest.cc
  M test/unittests/compiler/node-test-utils.h
  M test/unittests/compiler/node-test-utils.cc


--
--
v8-dev mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to