Mercurial > hg > graal-jvmci-8
comparison src/share/vm/compiler/methodLiveness.cpp @ 20804:7848fc12602b
Merge with jdk8u40-b25
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Tue, 07 Apr 2015 14:58:49 +0200 |
parents | ab5fbf410512 |
children |
comparison
equal
deleted
inserted
replaced
20184:84105dcdb05b | 20804:7848fc12602b |
---|---|
473 if (entry_bci == InvocationEntryBci) { | 473 if (entry_bci == InvocationEntryBci) { |
474 is_entry = true; | 474 is_entry = true; |
475 bci = 0; | 475 bci = 0; |
476 } | 476 } |
477 | 477 |
478 MethodLivenessResult answer((uintptr_t*)NULL,0); | 478 MethodLivenessResult answer((BitMap::bm_word_t*)NULL,0); |
479 | 479 |
480 if (_block_count > 0) { | 480 if (_block_count > 0) { |
481 if (TimeLivenessAnalysis) _time_total.start(); | 481 if (TimeLivenessAnalysis) _time_total.start(); |
482 if (TimeLivenessAnalysis) _time_query.start(); | 482 if (TimeLivenessAnalysis) _time_query.start(); |
483 | 483 |
998 bool MethodLiveness::BasicBlock::merge_exception(BitMap other) { | 998 bool MethodLiveness::BasicBlock::merge_exception(BitMap other) { |
999 return _exception_exit.set_union_with_result(other); | 999 return _exception_exit.set_union_with_result(other); |
1000 } | 1000 } |
1001 | 1001 |
1002 MethodLivenessResult MethodLiveness::BasicBlock::get_liveness_at(ciMethod* method, int bci) { | 1002 MethodLivenessResult MethodLiveness::BasicBlock::get_liveness_at(ciMethod* method, int bci) { |
1003 MethodLivenessResult answer(NEW_RESOURCE_ARRAY(uintptr_t, _analyzer->bit_map_size_words()), | 1003 MethodLivenessResult answer(NEW_RESOURCE_ARRAY(BitMap::bm_word_t, _analyzer->bit_map_size_words()), |
1004 _analyzer->bit_map_size_bits()); | 1004 _analyzer->bit_map_size_bits()); |
1005 answer.set_is_valid(); | 1005 answer.set_is_valid(); |
1006 | 1006 |
1007 #ifndef ASSERT | 1007 #ifndef ASSERT |
1008 if (bci == start_bci()) { | 1008 if (bci == start_bci()) { |