comparison src/share/vm/opto/output.cpp @ 163:885ed790ecf0

6695810: null oop passed to encode_heap_oop_not_null Summary: fix several problems in C2 related to Escape Analysis and Compressed Oops. Reviewed-by: never, jrose
author kvn
date Wed, 21 May 2008 10:45:07 -0700
parents 6dbf1a175d6b
children d1605aabd0a1 2a1a77d3458f
comparison
equal deleted inserted replaced
162:8aa010f60e0f 163:885ed790ecf0
46 assert( _cfg->_broot->_nodes.size() == 0, "" ); 46 assert( _cfg->_broot->_nodes.size() == 0, "" );
47 47
48 // Initialize the space for the BufferBlob used to find and verify 48 // Initialize the space for the BufferBlob used to find and verify
49 // instruction size in MachNode::emit_size() 49 // instruction size in MachNode::emit_size()
50 init_scratch_buffer_blob(); 50 init_scratch_buffer_blob();
51 if (failing()) return; // Out of memory
51 52
52 // Make sure I can find the Start Node 53 // Make sure I can find the Start Node
53 Block_Array& bbs = _cfg->_bbs; 54 Block_Array& bbs = _cfg->_bbs;
54 Block *entry = _cfg->_blocks[1]; 55 Block *entry = _cfg->_blocks[1];
55 Block *broot = _cfg->_broot; 56 Block *broot = _cfg->_broot;