dotgnu-libjit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libjit-developers] Patch for dpas-parser.y to implement array expre


From: Avinash Atreya
Subject: Re: [Libjit-developers] Patch for dpas-parser.y to implement array expressions
Date: Tue, 20 Dec 2005 16:05:56 +0530


Hi Aleksey
I believe you need to replace this

jit_insn_throw(func, 0);

with something like this:

jit_insn_throw(func, jit_value_create_nint_constant(func, jit_type_int, 0));

Perhaps it wasn't clear from my earlier mail that the idea was to throw a null jit_value_t and not a constant with it's integer value as 0, which is why it was 0 and not jit_value_create_nint_constant(func, jit_type_int, 0).  Let me know if you think the index which was out of bounds needs to be thrown as the jit_value_t in jit_insn_throw. That looks more appropriate to me.

Please test it and let me know.

Thanks
Regards
Avinash


reply via email to

[Prev in Thread] Current Thread [Next in Thread]