diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-12-24 19:23:30 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-12-24 19:23:30 +0000 |
| commit | 9d46110ff19ef07126afa4582254881b0512bde0 (patch) | |
| tree | 95aad79f83971a306c9b9a99645d95d453cea472 /llvm/lib/ExecutionEngine/ExecutionEngine.cpp | |
| parent | 4ed23578daa2ab659255511885f998d8876354d8 (diff) | |
| download | bcm5719-llvm-9d46110ff19ef07126afa4582254881b0512bde0.tar.gz bcm5719-llvm-9d46110ff19ef07126afa4582254881b0512bde0.zip | |
Use a std::string rather than a dynamically allocated char* buffer.
This affords us to use std::string's allocation routines and use the destructor
for the memory management. Switching to that also means that we can use
operator==(const std::string&, const char *) to perform the string comparison
rather than resorting to libc functionality (i.e. strcmp).
Patch by Saleem Abdulrasool!
Differential Revision: http://llvm-reviews.chandlerc.com/D230
llvm-svn: 171042
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions

