Reviewers: jarin,

Description:
[turbofan] Avoid useless bit masking in typed lowering.

There's no need to apply the 0x1f mask to right hand sides of shifts if
the input is already in range [0,31].

TEST=cctest,unittests
[email protected]

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

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

Affected files (+115, -5 lines):
  M src/compiler/js-typed-lowering.h
  M src/compiler/js-typed-lowering.cc
  M test/cctest/compiler/test-js-typed-lowering.cc
  M test/unittests/compiler/js-typed-lowering-unittest.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