Fix compilation on ARM when adding Math.pow optimization in 5949.
Review URL: http://codereview.chromium.org/5546006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5950 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
3ef0c5dd21
commit
5423649f0a
@ -1351,6 +1351,9 @@ LInstruction* LChunkBuilder::DoUnaryMathOperation(HUnaryMathOperation* instr) {
|
||||
return AssignEnvironment(DefineAsRegister(result));
|
||||
case kMathSqrt:
|
||||
return DefineSameAsFirst(result);
|
||||
case kMathPowHalf:
|
||||
Abort("MathPowHalf LUnaryMathOperation not implemented");
|
||||
return NULL;
|
||||
default:
|
||||
UNREACHABLE();
|
||||
return NULL;
|
||||
@ -1548,6 +1551,12 @@ LInstruction* LChunkBuilder::DoAdd(HAdd* instr) {
|
||||
}
|
||||
|
||||
|
||||
LInstruction* LChunkBuilder::DoPower(HPower* instr) {
|
||||
Abort("LPower instruction not implemented on ARM");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
LInstruction* LChunkBuilder::DoCompare(HCompare* instr) {
|
||||
Token::Value op = instr->token();
|
||||
if (instr->left()->representation().IsInteger32()) {
|
||||
|
Loading…
Reference in New Issue
Block a user