projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WinEH] Find root frame correctly in CLR funclets
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
LiveIntervalUnion.h
diff --git
a/include/llvm/CodeGen/LiveIntervalUnion.h
b/include/llvm/CodeGen/LiveIntervalUnion.h
index 967f0cbac7194468d2c5fa522beeb7c7d07924b2..f0f1637dc92d0622bb1398749d01564ed082badc 100644
(file)
--- a/
include/llvm/CodeGen/LiveIntervalUnion.h
+++ b/
include/llvm/CodeGen/LiveIntervalUnion.h
@@
-203,6
+203,11
@@
public:
assert(idx < Size && "idx out of bounds");
return LIUs[idx];
}
+
+ const LiveIntervalUnion& operator[](unsigned Idx) const {
+ assert(Idx < Size && "Idx out of bounds");
+ return LIUs[Idx];
+ }
};
};