diff options
| author | bors <bors@rust-lang.org> | 2018-05-17 14:10:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-17 14:10:11 +0000 |
| commit | dbd10f81758381339f98994b8d31814cf5e98707 (patch) | |
| tree | 314792e2f467d17181d29d4988550058197ac029 /src/rustllvm/PassWrapper.cpp | |
| parent | e3150564f889a3bad01795d9fcb31d4f14d58a99 (diff) | |
| parent | b63d7e2b1c4019e40051036bcb1fd5f254a8f6e2 (diff) | |
| download | rust-dbd10f81758381339f98994b8d31814cf5e98707.tar.gz rust-dbd10f81758381339f98994b8d31814cf5e98707.zip | |
Auto merge of #50615 - irinagpopa:rename-trans, r=nikomatsakis
Rename trans to codegen everywhere. Part of #45274.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
| -rw-r--r-- | src/rustllvm/PassWrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustllvm/PassWrapper.cpp b/src/rustllvm/PassWrapper.cpp index 3b400b879eb..d5410feb254 100644 --- a/src/rustllvm/PassWrapper.cpp +++ b/src/rustllvm/PassWrapper.cpp @@ -388,7 +388,7 @@ extern "C" LLVMTargetMachineRef LLVMRustCreateTargetMachine( Options.FunctionSections = FunctionSections; if (TrapUnreachable) { - // Tell LLVM to translate `unreachable` into an explicit trap instruction. + // Tell LLVM to codegen `unreachable` into an explicit trap instruction. // This limits the extent of possible undefined behavior in some cases, as // it prevents control flow from "falling through" into whatever code // happens to be laid out next in memory. |
