projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
121ea04
)
* src/vm/jit/jit.cpp: Eliminate one instance of useless cache flushing.
author
Stefan Ring
<stefan@complang.tuwien.ac.at>
Mon, 28 Nov 2011 20:17:20 +0000
(21:17 +0100)
committer
Stefan Ring
<stefan@complang.tuwien.ac.at>
Mon, 28 Nov 2011 20:17:20 +0000
(21:17 +0100)
src/vm/jit/jit.cpp
patch
|
blob
|
history
diff --git
a/src/vm/jit/jit.cpp
b/src/vm/jit/jit.cpp
index b633292c04ea796831a4f08049c4052f0683432a..f560457b08840242381ce2fcddc94418b7d67568 100644
(file)
--- a/
src/vm/jit/jit.cpp
+++ b/
src/vm/jit/jit.cpp
@@
-1,6
+1,6
@@
/* src/vm/jit/jit.cpp - Just-In-Time compiler
/* src/vm/jit/jit.cpp - Just-In-Time compiler
- Copyright (C) 1996-20
05, 2006, 2007, 2008
+ Copyright (C) 1996-20
11
CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
This file is part of CACAO.
CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
This file is part of CACAO.
@@
-1036,9
+1036,14
@@
void *jit_compile_handle(methodinfo *m, void *pv, void *ra, void *mptr)
*p = (uintptr_t) newpv;
*p = (uintptr_t) newpv;
+#if !defined(JIT_COMPILER_VIA_SIGNAL)
/* Flush both caches. */
/* Flush both caches. */
+ /* This might have been necessary before we had the compiler trap, but now
+ * it's not. I don't care enough about the (broken) non-signal case to
+ * investigate this. */
md_cacheflush(pa, SIZEOF_VOID_P);
md_cacheflush(pa, SIZEOF_VOID_P);
+#endif
return newpv;
}
return newpv;
}