aboutsummaryrefslogtreecommitdiff
path: root/gold/stringpool.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-26 21:45:30 +0000
committerIan Lance Taylor <iant@google.com>2008-02-26 21:45:30 +0000
commit45aa233bdcc27243a2b3e2c699ad0ab59f83901b (patch)
tree7483af747e28433511eaa64b11233b19473b89c9 /gold/stringpool.cc
parent58abc3ebf63249755146ba6a811ad909732641b1 (diff)
downloadgdb-45aa233bdcc27243a2b3e2c699ad0ab59f83901b.zip
gdb-45aa233bdcc27243a2b3e2c699ad0ab59f83901b.tar.gz
gdb-45aa233bdcc27243a2b3e2c699ad0ab59f83901b.tar.bz2
From Craig Silverstein: rename option functions for future option
handling rewrite.
Diffstat (limited to 'gold/stringpool.cc')
-rw-r--r--gold/stringpool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/stringpool.cc b/gold/stringpool.cc
index f569e52..5d13dcf 100644
--- a/gold/stringpool.cc
+++ b/gold/stringpool.cc
@@ -394,7 +394,7 @@ Stringpool_template<Stringpool_char>::set_string_offsets()
// the strtab size, and gives a relatively small benefit (it's
// typically rare for a symbol to be a suffix of another), we only
// take the time to sort when the user asks for heavy optimization.
- if (parameters->optimization_level() < 2)
+ if (parameters->optimize() < 2)
{
for (typename String_set_type::iterator curr = this->string_set_.begin();
curr != this->string_set_.end();