Author: Manuel Jacob <[email protected]>
Branch: llvm-translation-backend
Changeset: r91037:fd0b9058b540
Date: 2017-04-10 23:58 +0200
http://bitbucket.org/pypy/pypy/changeset/fd0b9058b540/

Log:    Implement jit_conditional_call_value llop (as a no-op).

diff --git a/rpython/translator/llvm/genllvm.py 
b/rpython/translator/llvm/genllvm.py
--- a/rpython/translator/llvm/genllvm.py
+++ b/rpython/translator/llvm/genllvm.py
@@ -1494,8 +1494,14 @@
     op_jit_marker = _ignore
     op_jit_ffi_save_result = _ignore
     op_jit_conditional_call = _ignore
+    op_jit_conditional_call_value = _ignore
     op_gc__collect = _ignore
 
+    def op_jit_conditional_call_value(self, result, *args):
+        if result.type is not LLVMVoid:
+            self.w('{result.V} = bitcast {result.T} undef to {result.T}'
+                    .format(**locals()))
+
     def op_jit_force_virtual(self, result, x):
         self._cast(result, x)
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to