Commits

Armin Rigo  committed 69dbe74

Skip optimizing the standard string oopspec'ed operations if we try to
do them on bytearrays.

  • Participants
  • Parent commits fa8c58f
  • Branches jit-ordereddict

Comments (0)

Files changed (1)

File rpython/jit/codewriter/jtransform.py

                     "stroruni.copy_string_to_raw": EffectInfo.OS_UNI_COPY_TO_RAW
                     }
             CHR = lltype.UniChar
+        elif SoU.TO == rbytearray.BYTEARRAY:
+            raise NotSupported("bytearray operation")
         else:
             assert 0, "args[0].concretetype must be STR or UNICODE"
         #