X64 Crankshaft: Fix unrestored context register in Math.power.

Review URL: http://codereview.chromium.org/6649020

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7107 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
whesse@chromium.org 2011-03-09 15:27:07 +00:00
parent 9cca7d2733
commit ca20d718b3

View File

@ -2563,6 +2563,8 @@ void LCodeGen::DoPower(LPower* instr) {
}
// Return value is in xmm0.
__ movsd(result_reg, xmm0);
// Restore context register.
__ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset));
}