Rename trans to codegen everywhere.

This commit is contained in:
Irina Popa 2018-05-08 16:10:16 +03:00
parent e3150564f8
commit b63d7e2b1c
264 changed files with 1547 additions and 1548 deletions

View file

@ -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.