diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-04 19:15:29 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-04 19:15:29 +0000 |
commit | 265ffbeb0c78ae49871571af2d4382f5a52c27e6 (patch) | |
tree | be026765a36a71718d3e128b8574256119deeadd /llvm/examples/Kaleidoscope/Chapter7/toy.cpp | |
parent | 77b1811fdea0341a25427beb12ddc48d75120673 (diff) | |
download | bcm5719-llvm-265ffbeb0c78ae49871571af2d4382f5a52c27e6.tar.gz bcm5719-llvm-265ffbeb0c78ae49871571af2d4382f5a52c27e6.zip |
Fix the build of the gold-plugin and examples.
llvm-svn: 231279
Diffstat (limited to 'llvm/examples/Kaleidoscope/Chapter7/toy.cpp')
-rw-r--r-- | llvm/examples/Kaleidoscope/Chapter7/toy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/Kaleidoscope/Chapter7/toy.cpp b/llvm/examples/Kaleidoscope/Chapter7/toy.cpp index 932290dc596..ce5e1ddceb1 100644 --- a/llvm/examples/Kaleidoscope/Chapter7/toy.cpp +++ b/llvm/examples/Kaleidoscope/Chapter7/toy.cpp @@ -1208,7 +1208,7 @@ int main() { // Set up the optimizer pipeline. Start with registering info about how the // target lays out data structures. - TheModule->setDataLayout(TheExecutionEngine->getDataLayout()); + TheModule->setDataLayout(*TheExecutionEngine->getDataLayout()); // Provide basic AliasAnalysis support for GVN. OurFPM.add(createBasicAliasAnalysisPass()); // Promote allocas to registers. |