Mercurial > hg > graal-compiler
changeset 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 | 859f7ec58a71 |
children | 62bcf515831d |
files | src/share/vm/runtime/javaCalls.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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();