Mercurial > hg > truffle
diff src/share/vm/runtime/javaCalls.cpp @ 7771:f10843a2d961
Remove assumption that methods without bytecodes are empty.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Mon, 11 Feb 2013 17:20:51 +0100 |
parents | 291ffc492eb6 |
children | b8f261ba79c6 |
line wrap: on
line diff
--- a/src/share/vm/runtime/javaCalls.cpp Mon Feb 11 14:39:56 2013 +0100 +++ b/src/share/vm/runtime/javaCalls.cpp Mon Feb 11 17:20:51 2013 +0100 @@ -365,12 +365,13 @@ } else debug_only(args->verify(method, result->get_type(), thread)); +#ifndef GRAAL // Ignore call if method is empty if (method->is_empty_method()) { assert(result->get_type() == T_VOID, "an empty method must return a void value"); return; } - +#endif #ifdef ASSERT { InstanceKlass* holder = method->method_holder();