mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Teach Visual Studio about Bitcode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36341 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
|
||||
#include "llvm/Bitcode/BitCodes.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
#include <cassert>
|
||||
#include <vector>
|
||||
|
||||
@ -72,7 +73,7 @@ public:
|
||||
Out.push_back((unsigned char)(V >> 24));
|
||||
|
||||
if (CurBit)
|
||||
CurValue = Val >> 32-CurBit;
|
||||
CurValue = Val >> (32-CurBit);
|
||||
else
|
||||
CurValue = 0;
|
||||
CurBit = (CurBit+NumBits) & 31;
|
||||
|
Reference in New Issue
Block a user