comparison graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java @ 18187:9619ba4daf4c

Rename Constant to JavaConstant.
author Roland Schatz <roland.schatz@oracle.com>
date Thu, 30 Oct 2014 12:21:07 +0100
parents ef357effbda7
children d1f5e41c3afe
comparison
equal deleted inserted replaced
18186:ef357effbda7 18187:9619ba4daf4c
317 317
318 for (DataPatch dp : ldp) { 318 for (DataPatch dp : ldp) {
319 Kind kind = Kind.Illegal; 319 Kind kind = Kind.Illegal;
320 if (dp.reference instanceof ConstantReference) { 320 if (dp.reference instanceof ConstantReference) {
321 VMConstant constant = ((ConstantReference) dp.reference).getConstant(); 321 VMConstant constant = ((ConstantReference) dp.reference).getConstant();
322 kind = ((Constant) constant).getKind(); 322 kind = ((JavaConstant) constant).getKind();
323 } 323 }
324 dms[kind.ordinal()].add(1); 324 dms[kind.ordinal()].add(1);
325 } 325 }
326 326
327 Debug.metric("CompilationResults").increment(); 327 Debug.metric("CompilationResults").increment();