Skip to content

Commit

Permalink
Merge pull request #12248 from JuliaLang/yyc/appveyor-freeze
Browse files Browse the repository at this point in the history
Fix infinite loop in windows memory manager
  • Loading branch information
yuyichao committed Jul 21, 2015
2 parents b49b70d + e4ccd13 commit 604609e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/debuginfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,8 @@ class JITMemoryManagerWin : public JITMemoryManager {
virtual uint8_t *getGOTBase() const { return JMM->getGOTBase(); }
virtual uint8_t *startFunctionBody(const Function *F,
uintptr_t &ActualSize) {
if (ActualSize == 0)
ActualSize += 64;
ActualSize += 48;
uint8_t *mem = JMM->startFunctionBody(F,ActualSize);
ActualSize -= 48;
Expand Down

0 comments on commit 604609e

Please sign in to comment.