[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Question regarding code generation of OP_SELF
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 6 Oct 2016 08:32:02 -0300
> Looking at how strings are created this doesn't seem possible, so the
> issue must be somewhere else. I am checking the type of the 'key'
> parameter in the following way (in luaK_self()):
>
> int is_string_constant_key =
> key->k == VK &&
> isshortstr(fs, RKASK(key->u.info));
>
> Perhaps this is incorrect?
What is 'isshortstr'?
-- Roberto