Mercurial > hg > graal-jvmci-8
diff src/share/vm/jvmci/jvmciCodeInstaller.cpp @ 23709:1b939a613788
Rename JVMCIRuntime::max_oop_map_stack_offset to CompilerToVM::Data::_max_oop_map_stack_offset
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 21 Jun 2016 14:36:16 -0700 |
parents | eb166b568645 |
children | edf3f2eb3b00 |
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciCodeInstaller.cpp Tue Jun 21 14:36:00 2016 -0700 +++ b/src/share/vm/jvmci/jvmciCodeInstaller.cpp Tue Jun 21 14:36:16 2016 -0700 @@ -96,9 +96,9 @@ // here. This test should also be equivalent legal_vm_reg_name but JVMCI // clients can use max_oop_map_stack_stack_offset to detect this problem // directly. The asserts just ensure that the tests are in agreement. - assert(offset > JVMCIRuntime::max_oop_map_stack_offset, "illegal VMReg"); + assert(offset > CompilerToVM::Data::max_oop_map_stack_offset(), "illegal VMReg"); JVMCI_ERROR_NULL("stack offset %d is too large to be encoded in OopMap (max %d)", - offset, JVMCIRuntime::max_oop_map_stack_offset); + offset, CompilerToVM::Data::max_oop_map_stack_offset()); } assert(OopMapValue::legal_vm_reg_name(vmReg), "illegal VMReg"); return vmReg;