MIPS: Fix MacroAssembler::AssertFunction()
authorpaul.lind <paul.lind@imgtec.com>
Tue, 8 Sep 2015 19:29:22 +0000 (12:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 8 Sep 2015 19:29:40 +0000 (19:29 +0000)
commit444a933931b405bd33485e8c299ee850b47a9531
treef4e4974eee24ad483713daf72fe6f8e0413d2b65
parent0faceaec7fb961738d9ee9a36b5080a91c8a5abc
MIPS: Fix MacroAssembler::AssertFunction()

Porting mistake in ccbb4ff0 '[builtins] Unify the various versions of [[Call]]
with a Call builtin.', which only showed as debug assertion in later commit
db2ba190 '[runtime] Replace many buggy uses of %_CallFunction with %_Call.'

Use temporary register rather than push/pop of 'object' register.

BUG=
TEST=cctest/test-api/SetFunctionEntryHook, cctest/test-serialize/PerIsolateSnapshotBlobs, ...

Review URL: https://codereview.chromium.org/1309163006

Cr-Commit-Position: refs/heads/master@{#30643}
src/mips/macro-assembler-mips.cc
src/mips64/macro-assembler-mips64.cc