Commits

Lars Wassermann committed 00d58cf

adde benchmarkFill to the minibluebookdebug image, allowing for the FILL primitive to be benchmarked (145)
fixed the fill primitive for word-arrays

  • Participants
  • Parent commits 085d4f0

Comments (0)

Files changed (2)

images/minibluebookdebug.image

Binary file modified.

spyvm/primitives.py

             raise PrimitiveFailedError
         for i in xrange(w_arg.size()):
             w_arg.setchar(i, chr(new_value))
-    elif isinstance(w_arg, model.W_PointersObject) or isinstance(w_arg, model.W_DisplayBitmap):
+    elif isinstance(w_arg, model.W_WordsObject) or isinstance(w_arg, model.W_DisplayBitmap):
         for i in xrange(w_arg.size()):
             w_arg.setword(i, new_value)
     else: