/[ascend]/trunk/ascend/compiler/linkinst.c
ViewVC logotype

Diff of /trunk/ascend/compiler/linkinst.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2688 by jpye, Mon Mar 4 08:11:49 2013 UTC revision 2689 by jpye, Mon Mar 4 11:28:19 2013 UTC
# Line 73  Line 73 
73  void ChangeRelationPointers(struct Instance *rel, struct Instance *old,  void ChangeRelationPointers(struct Instance *rel, struct Instance *old,
74                  struct Instance *new                  struct Instance *new
75  ){  ){
76      //if(NULL==new)CONSOLE_DEBUG("Want to remove reference to var %p in relation %p",old,rel);
77    assert(rel!=NULL);    assert(rel!=NULL);
78    assert(rel->t==REL_INST);    assert(rel->t==REL_INST);
79    AssertMemory(rel);    AssertMemory(rel);
# Line 86  void ChangeRelationPointers(struct Insta Line 87  void ChangeRelationPointers(struct Insta
87        ModifyGlassBoxRelPointers(rel,RELN_INST(rel)->ptr,old,new);        ModifyGlassBoxRelPointers(rel,RELN_INST(rel)->ptr,old,new);
88        return;        return;
89      case e_blackbox:      case e_blackbox:
 #if 1  
       CONSOLE_DEBUG("MODIFY BLACK BOX POINTERS on rel = %p: old instance %p new %p",rel,old,new);  
 #endif  
90        ModifyBlackBoxRelPointers(rel,RELN_INST(rel)->ptr,old,new);        ModifyBlackBoxRelPointers(rel,RELN_INST(rel)->ptr,old,new);
91        return;        return;
92      case e_undefined:      case e_undefined:

Legend:
Removed from v.2688  
changed lines
  Added in v.2689

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22