aboutsummaryrefslogtreecommitdiff
path: root/gold/compressed_output.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/compressed_output.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/compressed_output.cc')
-rw-r--r--gold/compressed_output.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/compressed_output.cc b/gold/compressed_output.cc
index 6904077..0bbcb55 100644
--- a/gold/compressed_output.cc
+++ b/gold/compressed_output.cc
@@ -49,7 +49,7 @@ zlib_compress(const char* uncompressed_data, unsigned long uncompressed_size,
*compressed_data = new char[*compressed_size];
int compress_level;
- if (parameters->optimization_level() >= 1)
+ if (parameters->optimize() >= 1)
compress_level = 9;
else
compress_level = 1;