commit | 12051ea86ec27703b07b3d5c2cd4604b20f71810 | [log] [tgz] |
---|---|---|
author | jeffhao <jeffhao@google.com> | Thu Jan 10 11:24:31 2013 -0800 |
committer | jeffhao <jeffhao@google.com> | Thu Jan 10 12:01:07 2013 -0800 |
tree | 6e3b17648656e8b13ee65dfcd8b04c7b7f0523f4 | |
parent | 16848f6c5c4d8394d491e887d7d805beddf173ad [diff] [blame] |
Added MIPS instrumentation support. Traceview works on MIPS, but deoptimization is untested. Change-Id: I8b8afc8003f02965be8b3e0beca57416142c5725
diff --git a/src/oat/runtime/mips/context_mips.h b/src/oat/runtime/mips/context_mips.h index d4944a6..76a5957 100644 --- a/src/oat/runtime/mips/context_mips.h +++ b/src/oat/runtime/mips/context_mips.h
@@ -44,7 +44,7 @@ virtual uintptr_t GetGPR(uint32_t reg) { CHECK_LT(reg, kNumberOfCoreRegisters); - return gprs_[reg]; + return *gprs_[reg]; } virtual void SetGPR(uint32_t reg, uintptr_t value);