View Issue Details

IDProjectCategoryView StatusLast Update
0000703LDMud 3.5Implementationpublic2014-02-22 23:31
Reporterzesstra Assigned ToGnomi  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Target Version3.5.0Fixed in Version3.5.0 
Summary0000703: Move data from the function header in the bytecode to a separate table in program_s
DescriptionThe so-called function header preceding every function in the bytecode is currently just a defined sequence of entities and not structured at all.
Additionally, we don't really need that data in the bytecode. All we need there is the function index in the defining program.

So this data (name, return type, number of arguments, number of local vars should be moved into a suitable struct fun_hdr_s and tabled in the program_s struct.
Then function just have the function index (currently short) directly before the bytecode. funstart would be the first valid opcode of that function.
TagsNo tags attached.

Activities

Gnomi

2014-01-23 19:19

manager   ~0002217

I have implemented that in https://github.com/amotzkau/ldmud/tree/703-functionheader. I will not make a pull request for inclusion in the master branch at this time, but rather use it as a base for my work at 0000721 and merge them at the end together into the master.

Gnomi

2014-02-22 23:31

manager   ~0002222

As the 0000721 branch was merged so was the implementation of this idea.

Issue History

Date Modified Username Field Change
2009-11-05 16:13 zesstra New Issue
2009-11-05 16:13 zesstra Status new => assigned
2009-11-05 16:13 zesstra Assigned To => zesstra
2010-03-03 17:15 zesstra Relationship added related to 0000340
2010-03-21 11:25 zesstra Relationship deleted related to 0000340
2013-08-21 20:35 zesstra Assigned To zesstra =>
2013-08-21 20:35 zesstra Status assigned => confirmed
2014-01-17 20:00 Gnomi Assigned To => Gnomi
2014-01-17 20:00 Gnomi Status confirmed => assigned
2014-01-23 19:19 Gnomi Note Added: 0002217
2014-02-22 23:31 Gnomi Note Added: 0002222
2014-02-22 23:31 Gnomi Status assigned => resolved
2014-02-22 23:31 Gnomi Fixed in Version => 3.5.0
2014-02-22 23:31 Gnomi Resolution open => fixed