Mercurial > hg > truffle
diff src/share/vm/graal/graalVMToCompiler.hpp @ 6503:ac3a4ea144a6
simplified error checking when loading Graal classes from the C++ code
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 03 Oct 2012 20:38:40 +0200 |
parents | 120820e30baa |
children | 1ecf984d490c |
line wrap: on
line diff
--- a/src/share/vm/graal/graalVMToCompiler.hpp Wed Oct 03 18:47:11 2012 +0200 +++ b/src/share/vm/graal/graalVMToCompiler.hpp Wed Oct 03 20:38:40 2012 +0200 @@ -118,11 +118,4 @@ } } -inline void check_not_null(void* value, const char* message, bool dump_core = false) { - if (value == NULL) { - tty->print_cr("%s", message); - vm_abort(dump_core); - } -} - #endif // SHARE_VM_GRAAL_GRAAL_VM_TO_COMPILER_HPP