mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 20:32:19 +00:00
Added some accessor methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33814 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0f43b22320
commit
18e84b55a4
@ -138,6 +138,15 @@ namespace llvm {
|
||||
else
|
||||
assert(0 && "Emission of 64-bit data not implemented yet!");
|
||||
}
|
||||
|
||||
std::vector<unsigned char>::reference
|
||||
operator [] (unsigned Index) {
|
||||
return Output[Index];
|
||||
}
|
||||
std::vector<unsigned char>::const_reference
|
||||
operator [] (unsigned Index) const {
|
||||
return Output[Index];
|
||||
}
|
||||
};
|
||||
|
||||
} // end llvm namespace
|
||||
|
Loading…
Reference in New Issue
Block a user