Revision: 14422
Author: [email protected]
Date: Wed Apr 24 07:51:14 2013
Log: Fixed HUnaryMathOperation regarding its possible operations.
Review URL: https://codereview.chromium.org/14333013
http://code.google.com/p/v8/source/detail?r=14422
Modified:
/branches/bleeding_edge/src/hydrogen-instructions.cc
/branches/bleeding_edge/src/hydrogen-instructions.h
=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Wed Apr 24
05:39:30 2013
+++ /branches/bleeding_edge/src/hydrogen-instructions.cc Wed Apr 24
07:51:14 2013
@@ -1310,20 +1310,18 @@
switch (op()) {
case kMathFloor: return "floor";
case kMathRound: return "round";
- case kMathCeil: return "ceil";
case kMathAbs: return "abs";
case kMathLog: return "log";
case kMathSin: return "sin";
case kMathCos: return "cos";
case kMathTan: return "tan";
- case kMathASin: return "asin";
- case kMathACos: return "acos";
- case kMathATan: return "atan";
case kMathExp: return "exp";
case kMathSqrt: return "sqrt";
- default: break;
+ case kMathPowHalf: return "pow-half";
+ default:
+ UNREACHABLE();
+ return NULL;
}
- return "(unknown operation)";
}
=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.h Wed Apr 24 05:43:33
2013
+++ /branches/bleeding_edge/src/hydrogen-instructions.h Wed Apr 24 07:51:14
2013
@@ -2603,7 +2603,6 @@
switch (op) {
case kMathFloor:
case kMathRound:
- case kMathCeil:
set_representation(Representation::Integer32());
break;
case kMathAbs:
--
--
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/groups/opt_out.