Commits

Maciej Fijalkowski committed 3b3c923

fix the stack wasting (does not fix the stack issue I believe)

  • Participants
  • Parent commits 5c95268
  • Branches jitframe-on-heap

Comments (0)

Files changed (1)

File rpython/jit/backend/x86/assembler.py

         n = len(arglocs)
         for i in range(start, n):
             loc = arglocs[i]
-            if isinstance(loc, RegLoc):
-                if loc.is_xmm:
-                    stack_depth += 2
-                else:
-                    stack_depth += 1
             stack_depth += loc.get_width() // WORD
         if stack_depth > stack_max:
             align = align_stack_words(stack_depth - stack_max)