Skip to content

Commit

Permalink
Try to fix infinite loop in windows memory manager. Close #7942
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Jul 21, 2015
1 parent 0c9d74b commit e4ccd13
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 e4ccd13

Please sign in to comment.