aboutsummaryrefslogtreecommitdiff
path: root/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp')
-rw-r--r--unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp b/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
index 780fbc1b7b..8dd5795dc5 100644
--- a/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
+++ b/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
@@ -66,12 +66,14 @@ TEST_F(MCJITCAPITest, simple_function) {
LLVMMCJITCompilerOptions options;
memset(&options, 0, sizeof(options));
options.OptLevel = 2;
- options.NoFramePointerElim = false; // Just ensure that this field still exists.
+
+ // Just ensure that this field still exists.
+ options.NoFramePointerElim = false;
LLVMExecutionEngineRef engine;
ASSERT_EQ(
- 0, LLVMCreateMCJITCompilerForModule(&engine, module, &options, sizeof(options),
- &error));
+ 0, LLVMCreateMCJITCompilerForModule(&engine, module, &options,
+ sizeof(options), &error));
LLVMPassManagerRef pass = LLVMCreatePassManager();
LLVMAddTargetData(LLVMGetExecutionEngineTargetData(engine), pass);