1. Pypy
  2. Untitled project
  3. pypy

Commits

Armin Rigo  committed b6601e2

Tweaks

  • Participants
  • Parent commits b0f46f2
  • Branches stmgc-c7

Comments (0)

Files changed (2)

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

View file
  • Ignore whitespace
     'pypy__threadlocal_base',
     [], lltype.Signed,
     compilation_info=eci,
-    _nowrapper=True)
+    _nowrapper=True,
+    transactionsafe=True)

File rpython/translator/stm/funcgen.py

View file
  • Ignore whitespace
     try:
         info = op.args[0].value
     except IndexError:
-        info = "rstm.become_inevitable"    # cannot insert it in 'llop'
+        info = "?"    # cannot insert it in 'llop'
+    try:
+        info = '%s:%s' % funcgen.graph.name
+    except AttributeError:
+        pass
     string_literal = c_string_constant(info)
     return 'stm_become_inevitable(&stm_thread_local, %s);' % (string_literal,)