Skip to content

Commit

Permalink
Fix compilation on ARM when adding Math.pow optimization in 5949.
Browse files Browse the repository at this point in the history
  • Loading branch information
whesse@chromium.org committed Dec 8, 2010
1 parent 3ef0c5d commit 5423649
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/arm/lithium-arm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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()) {
Expand Down

0 comments on commit 5423649

Please sign in to comment.