Correct spelling.
[SquirrelJME.git] / assets / developer-notes / stephanie-gawroriski / 2017 / 05 / 18.mkd
blob9bbd0a9136514c92bd391f02715e49887c3bae34
1 # 2017/05/18
3 ## 10:43
5 So working on handling some of the code bits. I think what I can do at the end
6 of every basic block is have a virtual instruction which may be used as a jump
7 if the block it naturally flows into is not the adjacent block.
9 ## 11:19
11 I wonder if I should make the byte code more object based. Basically have just
12 an array of references for each instruction information that is loaded as
13 needed. It would be cached and initialized at construction time for that
14 specific instruction.
16 ## 11:28
18 Instructions can have checked parameters also. Then for table switch and
19 lookup switch, instead of a parameter being a large number of parameters it
20 can just be a special class representing the table.