Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/live.cpp @ 566:91263420e1c6
6791852: assert(b->_nodes[insidx] == n,"got insidx set incorrectly")
Summary: Move the CreateEx up before each round of IFG construction
Reviewed-by: never, phh
author | kvn |
---|---|
date | Fri, 06 Feb 2009 13:31:03 -0800 |
parents | 96964ebdb154 |
children | 0fbdb4381b99 98cb887364d3 |
comparison
equal
deleted
inserted
replaced
565:7fe62bb75bf4 | 566:91263420e1c6 |
---|---|
327 #ifdef _LP64 | 327 #ifdef _LP64 |
328 UseCompressedOops && check->as_Mach()->ideal_Opcode() == Op_CastPP || | 328 UseCompressedOops && check->as_Mach()->ideal_Opcode() == Op_CastPP || |
329 UseCompressedOops && check->as_Mach()->ideal_Opcode() == Op_DecodeN || | 329 UseCompressedOops && check->as_Mach()->ideal_Opcode() == Op_DecodeN || |
330 #endif | 330 #endif |
331 check->as_Mach()->ideal_Opcode() == Op_LoadP || | 331 check->as_Mach()->ideal_Opcode() == Op_LoadP || |
332 check->as_Mach()->ideal_Opcode() == Op_LoadKlass)) | 332 check->as_Mach()->ideal_Opcode() == Op_LoadKlass)) { |
333 // Valid nodes | |
334 } else { | |
335 check->dump(); | |
333 assert(false,"Bad base or derived pointer"); | 336 assert(false,"Bad base or derived pointer"); |
337 } | |
334 } else { | 338 } else { |
335 assert(is_derived,"Bad base pointer"); | 339 assert(is_derived,"Bad base pointer"); |
336 assert(check->is_Mach() && check->as_Mach()->ideal_Opcode() == Op_AddP,"Bad derived pointer"); | 340 assert(check->is_Mach() && check->as_Mach()->ideal_Opcode() == Op_AddP,"Bad derived pointer"); |
337 } | 341 } |
338 k++; | 342 k++; |
344 } // End of if found a safepoint | 348 } // End of if found a safepoint |
345 } // End of forall instructions in block | 349 } // End of forall instructions in block |
346 } // End of forall blocks | 350 } // End of forall blocks |
347 #endif | 351 #endif |
348 } | 352 } |
349 #endif | 353 |
354 //------------------------------verify------------------------------------- | |
355 // Verify that graphs and base pointers are still sane. | |
356 void PhaseChaitin::verify( ResourceArea *a, bool verify_ifg ) const { | |
357 #ifdef ASSERT | |
358 if( VerifyOpto || VerifyRegisterAllocator ) { | |
359 _cfg.verify(); | |
360 verify_base_ptrs(a); | |
361 if(verify_ifg) | |
362 _ifg->verify(this); | |
363 } | |
364 #endif | |
365 } | |
366 | |
367 #endif |