diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-08-09 03:48:46 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-08-09 03:48:46 +0000 |
commit | ada201c8c185d5d689eb8e1a65d7ceae7d5bcc61 (patch) | |
tree | 0b4b4f18f9da220662d8e542d720b7fef792e28e /llvm/lib | |
parent | 72c1c7d6945cca934ed08175b8fc2a0162b14bc6 (diff) | |
download | bcm5719-llvm-ada201c8c185d5d689eb8e1a65d7ceae7d5bcc61.tar.gz bcm5719-llvm-ada201c8c185d5d689eb8e1a65d7ceae7d5bcc61.zip |
Fix some typos. Apparently I think C needs a power-of operator.
llvm-svn: 54574
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/OcamlCollector.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/OcamlCollector.cpp b/llvm/lib/CodeGen/OcamlCollector.cpp index 6b947b10507..9823d24986f 100644 --- a/llvm/lib/CodeGen/OcamlCollector.cpp +++ b/llvm/lib/CodeGen/OcamlCollector.cpp @@ -129,7 +129,7 @@ void OcamlCollector::finishAssembly(std::ostream &OS, AsmPrinter &AP, PE = MD.end(); PI != PE; ++PI) { uint64_t FrameSize = MD.getFrameSize(); - if (FrameSize >= 2<<16) { + if (FrameSize >= 1<<16) { cerr << "Function '" << MD.getFunction().getNameStart() << "' is too large for the ocaml collector! " << "Frame size " << FrameSize << " >= 65536.\n"; @@ -137,7 +137,7 @@ void OcamlCollector::finishAssembly(std::ostream &OS, AsmPrinter &AP, } size_t LiveCount = MD.live_size(PI); - if (LiveCount >= 2<<16) { + if (LiveCount >= 1<<16) { cerr << "Function '" << MD.getFunction().getNameStart() << "' is too large for the ocaml collector! " << "Live root count " << LiveCount << " >= 65536.\n"; @@ -157,7 +157,7 @@ void OcamlCollector::finishAssembly(std::ostream &OS, AsmPrinter &AP, for (CollectorMetadata::live_iterator LI = MD.live_begin(PI), LE = MD.live_end(PI); LI != LE; ++LI) { - assert(LI->StackOffset < 2<<16 && + assert(LI->StackOffset < 1<<16 && "GC root stack offset is outside of fixed stack frame and out " "of range for Ocaml collector!"); |