Mercurial > hg > graal-compiler
diff src/share/vm/opto/output.cpp @ 20447:fc2c88ea11a9
8036588: VerifyFieldClosure fails instanceKlass:3133
Summary: Changed deopt live-pointer test to use returns-object instead of live-and-returns-object
Reviewed-by: iveresov, kvn, jrose
author | drchase |
---|---|
date | Fri, 11 Jul 2014 19:51:36 -0400 |
parents | 69ea58782b1a |
children | 7848fc12602b |
line wrap: on
line diff
--- a/src/share/vm/opto/output.cpp Tue Sep 09 19:18:13 2014 +0000 +++ b/src/share/vm/opto/output.cpp Fri Jul 11 19:51:36 2014 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -856,8 +856,7 @@ } // Check if a call returns an object. - if (mcall->return_value_is_used() && - mcall->tf()->range()->field_at(TypeFunc::Parms)->isa_ptr()) { + if (mcall->returns_pointer()) { return_oop = true; } safepoint_pc_offset += mcall->ret_addr_offset();