Skip to content

Commit 409f3d2

Browse files
committed
[NFC] Removed Explosion::peek.
The convenience was added to aid with the async calling convention but it has proven to be unnecessary. Here, it is removed.
1 parent a9aee1b commit 409f3d2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/IRGen/Explosion.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,6 @@ class Explosion {
152152
return Values[NextValue-1];
153153
}
154154

155-
llvm::Value *peek(unsigned n) {
156-
assert(n < Values.size());
157-
return Values[n];
158-
}
159-
160155
/// Claim and remove the last item in the array.
161156
/// Unlike the normal 'claim' methods, the item is gone forever.
162157
llvm::Value *takeLast() {

0 commit comments

Comments
 (0)