8055231: ZERO variant build is broken

Fix zero build.

Reviewed-by: coleenp
This commit is contained in:
Severin Gehwolf 2014-08-15 15:25:24 -04:00 committed by Coleen Phillimore
parent 2d98294837
commit 31f98c26fc
3 changed files with 4 additions and 2 deletions

View file

@ -731,7 +731,7 @@ InterpreterFrame *InterpreterFrame::build(Method* const method, TRAPS) {
if (method->is_static())
object = method->constants()->pool_holder()->java_mirror();
else
object = (oop) locals[0];
object = (oop) (void*)locals[0];
monitor->set_obj(object);
}