Handle non-constant divisor in MathFloorOfDiv, on ia32/x64
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 28 Dec 2012 15:52:17 +0000 (15:52 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 28 Dec 2012 15:52:17 +0000 (15:52 +0000)
commite536abb777cd94916257a6b81bfd87709f6f8794
tree1c6fbca94e5fc657d7b30b9da30e910db1f2085a
parenteb27eb0351aaa9e2f664b7a2251b1a28f1daf667
Handle non-constant divisor in MathFloorOfDiv, on ia32/x64

Zheng Liu
zheng.z.liu@intel.com

Review URL: https://chromiumcodereview.appspot.com/11624022
Patch from Zheng Liu <zheng.z.liu@intel.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13289 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ia32/lithium-codegen-ia32.cc
src/ia32/lithium-ia32.cc
src/ia32/lithium-ia32.h
src/x64/lithium-codegen-x64.cc
src/x64/lithium-x64.cc
src/x64/lithium-x64.h
test/mjsunit/math-floor-of-div-nosudiv.js
test/mjsunit/math-floor-of-div.js