src/share/vm/opto/idealKit.cpp

changeset 1420
685e959d09ea
parent 1286
fc4be448891f
child 1435
a1423fe86a18
     1.1 --- a/src/share/vm/opto/idealKit.cpp	Thu Sep 10 18:18:06 2009 -0700
     1.2 +++ b/src/share/vm/opto/idealKit.cpp	Mon Sep 14 09:49:54 2009 -0700
     1.3 @@ -378,7 +378,7 @@
     1.4  
     1.5  // Card mark store. Must be ordered so that it will come after the store of
     1.6  // the oop.
     1.7 -Node* IdealKit::storeCM(Node* ctl, Node* adr, Node *val, Node* oop_store,
     1.8 +Node* IdealKit::storeCM(Node* ctl, Node* adr, Node *val, Node* oop_store, int oop_adr_idx,
     1.9                          BasicType bt,
    1.10                          int adr_idx) {
    1.11    assert(adr_idx != Compile::AliasIdxTop, "use other store_to_memory factory" );
    1.12 @@ -388,7 +388,7 @@
    1.13  
    1.14    // Add required edge to oop_store, optimizer does not support precedence edges.
    1.15    // Convert required edge to precedence edge before allocation.
    1.16 -  Node* st = new (C, 5) StoreCMNode(ctl, mem, adr, adr_type, val, oop_store);
    1.17 +  Node* st = new (C, 5) StoreCMNode(ctl, mem, adr, adr_type, val, oop_store, oop_adr_idx);
    1.18  
    1.19    st = transform(st);
    1.20    set_memory(st, adr_idx);

mercurial