Fix a spello.

This commit is contained in:
Dan Gohman 2017-11-10 12:52:06 -08:00
parent d9f0e88f19
commit 89652d66c9

View File

@ -401,7 +401,7 @@ extern "C" LLVMTargetMachineRef LLVMRustCreateTargetMachine(
// Tell LLVM to translate `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 layed out next in memory.
// be laid out next in memory.
Options.TrapUnreachable = true;
TargetMachine *TM = TheTarget->createTargetMachine(