about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-05-17 14:10:11 +0000
committerbors <bors@rust-lang.org>2018-05-17 14:10:11 +0000
commitdbd10f81758381339f98994b8d31814cf5e98707 (patch)
tree314792e2f467d17181d29d4988550058197ac029 /src/rustllvm/PassWrapper.cpp
parente3150564f889a3bad01795d9fcb31d4f14d58a99 (diff)
parentb63d7e2b1c4019e40051036bcb1fd5f254a8f6e2 (diff)
downloadrust-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.cpp2
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.