Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Changeset 773:5696a7167b21

Show
Ignore:
Timestamp:
11/18/08 12:07:57 (2 months ago)
Author:
Christian Kamm <kamm incasoftware de>
branch:
default
Message:

Fix RawVarDecl? double codegen bug. Thanks to downs for the testcase.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gen/llvmhelpers.cpp

    r758 r773  
    13331333    // we don't handle aliases either 
    13341334    assert(!var->aliassym); 
     1335         
     1336    // if this already has storage, it must've been handled already 
     1337    if (var->ir.irLocal && var->ir.irLocal->value) 
     1338        return var->ir.irLocal->value; 
    13351339 
    13361340    // referenced by nested function? 
Copyright © 2008, LDC Development Team.