[pypy-commit] pypy llvm-translation-backend: Implement jit_conditional_call_value llop (as a no-op).
mjacob
pypy.commits at gmail.com
Mon Apr 10 17:59:06 EDT 2017
Author: Manuel Jacob <me at manueljacob.de>
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)
More information about the pypy-commit
mailing list