https://chromiumcodereview.appspot.com/9365013/diff/3002/src/hydrogen.cc File src/hydrogen.cc (right):
https://chromiumcodereview.appspot.com/9365013/diff/3002/src/hydrogen.cc#newcode5073 src/hydrogen.cc:5073: if (argument_count == 2) { On 2012/02/08 10:50:59, Vyacheslav Egorov wrote:
I think you can just use expr->arguments()->length() == 1 here.
Done. https://chromiumcodereview.appspot.com/9365013/diff/3002/src/hydrogen.cc#newcode5080 src/hydrogen.cc:5080: if (drop_extra) Drop(1); // Optionally drop the function. On 2012/02/08 10:50:59, Vyacheslav Egorov wrote:
It would be good to add test case that ensures that we deopt from
inside
LUnaryMathOperation with correct environment.
Done. https://chromiumcodereview.appspot.com/9365013/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
