projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e02e9a
)
* src/vm/jit/mips/linux/md-os.c: Further simplified signal handler.
author
Stefan Ring
<stefan@complang.tuwien.ac.at>
Sun, 13 Sep 2009 12:02:02 +0000
(14:02 +0200)
committer
Stefan Ring
<stefan@complang.tuwien.ac.at>
Sun, 13 Sep 2009 12:02:02 +0000
(14:02 +0200)
(like
e4ed4d38a2de
)
src/vm/jit/mips/linux/md-os.c
patch
|
blob
|
history
diff --git
a/src/vm/jit/mips/linux/md-os.c
b/src/vm/jit/mips/linux/md-os.c
index e96052f300272ed85144f5b279a3b085220c1cdf..4eeb049f88407787fe4343971aaff574371df7ef 100644
(file)
--- a/
src/vm/jit/mips/linux/md-os.c
+++ b/
src/vm/jit/mips/linux/md-os.c
@@
-221,18
+221,7
@@
void md_signal_handler_sigill(int sig, siginfo_t* siginfo, void* _p)
intptr_t val = 0;
// Handle the trap.
- void* p = trap_handle(type, val, pv, sp, ra, xpc, _p);
-
- // Set registers
- if (p == NULL) {
- // We set the PC again because the cause may have changed the
- // XPC.
-#if defined(__UCLIBC__)
- _gregs[CTX_EPC] = (uintptr_t) xpc;
-#else
- _mc->pc = (uintptr_t) xpc;
-#endif
- }
+ trap_handle(type, val, pv, sp, ra, xpc, _p);
}