< prev index next >

src/cpu/x86/vm/c1_LIR_x86.cpp

Print this page
rev 13055 : Implement barriers for maintaining connection matrix.

@@ -58,13 +58,13 @@
 }
 
 #ifndef PRODUCT
 void LIR_Address::verify() const {
 #ifdef _LP64
-  assert(base()->is_cpu_register(), "wrong base operand");
+  assert(base()->is_illegal() || base()->is_cpu_register(), "wrong base operand");
   assert(index()->is_illegal() || index()->is_double_cpu(), "wrong index operand");
-  assert(base()->type() == T_OBJECT || base()->type() == T_LONG || base()->type() == T_METADATA,
+  assert(base()->is_illegal() || base()->type() == T_OBJECT || base()->type() == T_LONG || base()->type() == T_METADATA,
          "wrong type for addresses");
 #else
   assert(base()->is_single_cpu(), "wrong base operand");
   assert(index()->is_illegal() || index()->is_single_cpu(), "wrong index operand");
   assert(base()->type() == T_OBJECT || base()->type() == T_INT || base()->type() == T_METADATA,
< prev index next >