commit | ad42e1327fca837531e4feac8841de3960c4df45 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Sat Sep 17 20:23:33 2011 -0700 |
committer | Ian Rogers <irogers@google.com> | Sat Sep 17 20:23:33 2011 -0700 |
tree | de7c955804ac46da7988638e9aa478899457c4f8 | |
parent | 3a7b4f26387b3529899f3cf16cdd6f1e200ded80 [diff] [blame] |
Exception work clean up. Change-Id: Ide71ba25ea70b39651f80d9ff469019898a929e6
diff --git a/src/context_x86.cc b/src/context_x86.cc index 04976a5..479b950 100644 --- a/src/context_x86.cc +++ b/src/context_x86.cc
@@ -8,9 +8,13 @@ namespace x86 { X86Context::X86Context() { +#ifndef NDEBUG + // Initialize registers with easy to spot debug values for (int i=0; i < 8; i++) { gprs_[i] = 0xEBAD6070+i; } + eip_ = 0xEBAD601F; +#endif } void X86Context::FillCalleeSaves(const Frame& fr) {