Use InstrSlots::NUM rather than pre-dividing by four. Also, mark this const.
[oota-llvm.git] / lib / AsmParser / LLLexer.h
index 7eaa9f9d0ab70e906a1f0f3ae5f45aa4e0a93d40..8b44b14cb741e9b14474772c3db420a7598f7bb6 100644 (file)
@@ -30,7 +30,7 @@ namespace llvm {
     
     std::string TheError;
   public:
-    LLLexer(MemoryBuffer *StartBuf);
+    explicit LLLexer(MemoryBuffer *StartBuf);
     ~LLLexer() {}
 
     const char *getTokStart() const { return TokStart; }