diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-01-08 18:16:20 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2021-01-08 18:16:20 -0500 |
| commit | 7b36408b5f6373647eba37ad1f91c26070298454 (patch) | |
| tree | 2c8ac31c2ee11e979a9d3f420b09a6d9e2d629de /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 26438b473883ea607b30288e461187f0fb2fe589 (diff) | |
| download | rust-7b36408b5f6373647eba37ad1f91c26070298454.tar.gz rust-7b36408b5f6373647eba37ad1f91c26070298454.zip | |
Use an empty `TokenCursorFrame` stack when capturing tokens
We will never need to pop past our starting frame during token capturing. Using an empty stack allows us to avoid pointless heap allocations/deallocations.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
