Index: llvm/trunk/include/llvm/Support/BinaryStreamArray.h
===================================================================
--- llvm/trunk/include/llvm/Support/BinaryStreamArray.h
+++ llvm/trunk/include/llvm/Support/BinaryStreamArray.h
@@ -162,6 +162,11 @@
     return ThisValue;
   }
 
+  ValueType &operator*() {
+    assert(Array && !HasError);
+    return ThisValue;
+  }
+
   IterType &operator+=(unsigned N) {
     for (unsigned I = 0; I < N; ++I) {
       // We are done with the current record, discard it so that we are