2010-03-19 Doug Kwan <dougkwan@google.com>
[deliverable/binutils-gdb.git] / gold / stringpool.h
index df3826d9eb02c25f5ba23239f03870780989740f..f353c9d9a2f87e0ddfe0b37f3a67f9f49125a711 100644 (file)
@@ -178,8 +178,10 @@ class Stringpool_template
   void
   set_no_zero_null()
   {
-    gold_assert(this->string_set_.empty());
+    gold_assert(this->string_set_.empty()
+               && this->offset_ == sizeof(Stringpool_char));
     this->zero_null_ = false;
+    this->offset_ = 0;
   }
 
   // Indicate that this string pool should be optimized, even if not
This page took 0.02459 seconds and 4 git commands to generate.