Created
March 22, 2014 18:17
-
-
Save samgiles/9711796 to your computer and use it in GitHub Desktop.
RPython Error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _malloc_signed(initial_value): | |
SIGNEDP = lltype.Array(lltype.Signed) | |
value = lltype.malloc(SIGNEDP, 1, flavor="raw") | |
value[0] = initial_value | |
return value | |
----------------------------------------------------------------------------------------------- | |
[translation:info] assert not signature.has_kwarg() # XXX should not happen? | |
[translation:ERROR] AssertionError | |
[translation:ERROR] Processing block: | |
[translation:ERROR] block@12 is a <class 'rpython.flowspace.flowcontext.SpamBlock'> | |
[translation:ERROR] in (rpythonex.rdequeue:7)malloc_signed | |
[translation:ERROR] containing the following operations: | |
[translation:ERROR] v0 = simple_call((type Array), (Number Signed)) | |
[translation:ERROR] v1 = call_args((function malloc), ((2, ('flavor',), False)), v0, (1), ('raw')) | |
[translation:ERROR] v2 = setitem(v1, (0), initial_value_0) | |
[translation:ERROR] --end-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment