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

Ticket #90 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

several places needing the filename create a new global string literal, for every use

Reported by: lindquist Assigned to:
Priority: minor Milestone: Beta
Component: Version:
Keywords: Cc:

Description

.. this isn't optimal, also they construct the dynamic array reference on the stack, which might as well be a single global too.

  • arrays.cpp ~ line 1068 for array bounds checking
  • llvmhelpers.cpp ~ line 124 for assertions
  • statements.cpp ~ line 1248 for switch errors

it should be trivial to implement, simply have all modules start with making these global, as internals, if they're not used they'll be removed by LLVM, and if they are, well, problem solved :)

Change History

10/12/08 04:43:37 changed by ChristianK

  • status changed from new to closed.
  • resolution set to fixed.

fixed in [683]

Copyright © 2008, LDC Development Team.