Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalCodeInstaller.cpp @ 6539:2463eb24b644
Cleanup of Graal API: Rename methods so that it follows the getXxx naming convention and so that they are similar to the names of the java.lang.reflect classes. Remove unused methods.
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Tue, 09 Oct 2012 15:23:38 -0700 |
parents | 2a0c9f20baa1 |
children | d5f7e737827f |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Tue Oct 09 14:06:26 2012 +0200 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Tue Oct 09 15:23:38 2012 -0700 @@ -104,7 +104,7 @@ // TODO: finish this - graal doesn't provide any scope values at the moment static ScopeValue* get_hotspot_value(oop value, int total_frame_size, GrowableArray<ScopeValue*>* objects, ScopeValue* &second) { second = NULL; - if (value == Value::IllegalValue()) { + if (value == Value::ILLEGAL()) { return new LocationValue(Location::new_stk_loc(Location::invalid, 0)); } @@ -499,8 +499,8 @@ } if (second != NULL) { i++; - assert(i < values->length(), "double-slot value not followed by Value.IllegalValue"); - assert(((oop*) values->base(T_OBJECT))[i] == Value::IllegalValue(), "double-slot value not followed by Value.IllegalValue"); + assert(i < values->length(), "double-slot value not followed by Value.ILLEGAL"); + assert(((oop*) values->base(T_OBJECT))[i] == Value::ILLEGAL(), "double-slot value not followed by Value.ILLEGAL"); } }