Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/chaitin.cpp @ 168:7793bd37a336
6705887: Compressed Oops: generate x64 addressing and implicit null checks with narrow oops
Summary: Generate addresses and implicit null checks with narrow oops to avoid decoding.
Reviewed-by: jrose, never
author | kvn |
---|---|
date | Thu, 29 May 2008 12:04:14 -0700 |
parents | ba764ed4b6f2 |
children | d1605aabd0a1 |
comparison
equal
deleted
inserted
replaced
167:feeb96a45707 | 168:7793bd37a336 |
---|---|
1383 if( cisc->oper_input_base() > 1 && mach->oper_input_base() <= 1 ) { | 1383 if( cisc->oper_input_base() > 1 && mach->oper_input_base() <= 1 ) { |
1384 assert( cisc->oper_input_base() == 2, "Only adding one edge"); | 1384 assert( cisc->oper_input_base() == 2, "Only adding one edge"); |
1385 cisc->ins_req(1,src); // Requires a memory edge | 1385 cisc->ins_req(1,src); // Requires a memory edge |
1386 } | 1386 } |
1387 b->_nodes.map(j,cisc); // Insert into basic block | 1387 b->_nodes.map(j,cisc); // Insert into basic block |
1388 n->replace_by(cisc); // Correct graph | 1388 n->subsume_by(cisc); // Correct graph |
1389 // | 1389 // |
1390 ++_used_cisc_instructions; | 1390 ++_used_cisc_instructions; |
1391 #ifndef PRODUCT | 1391 #ifndef PRODUCT |
1392 if( TraceCISCSpill ) { | 1392 if( TraceCISCSpill ) { |
1393 tty->print(" cisc-instr: "); | 1393 tty->print(" cisc-instr: "); |