Closed GoogleCodeExporter closed 9 years ago
File is SpinSource/spin.cpp with proposed code after printf("Done.\n");
Could put before "Done." message.
Original comment by jsden...@gmail.com
on 23 Jun 2012 at 2:23
Well bufferSize reports code-size bytes, not longs. This misunderstanding was
promoted by BSTC's output which says "longs" but that appears to be a bug.
Question though: It seems to me that the minimum "program size" is not "code
size" but code size + first object size + var size + stack markers. In other
words, dcurr.
Original comment by jsden...@gmail.com
on 23 Jun 2012 at 2:56
So program size should be reported like this no?
+ if (!bQuiet)
+ {
+ printf("Program size is %d bytes\n", ((unsigned short*)pBuffer)[7]);
+ }
delete [] pBuffer;
Original comment by jsden...@gmail.com
on 23 Jun 2012 at 2:58
Original comment by reltham
on 25 Jun 2012 at 9:00
I can output whatever you want it to be.
I'll put in your last suggestion for now, and if you think of something
different/more, let me know.
Original comment by reltham
on 25 Jun 2012 at 9:02
Fixed in source code (r34).
Original comment by reltham
on 25 Jun 2012 at 9:57
Original issue reported on code.google.com by
jsden...@gmail.com
on 23 Jun 2012 at 2:22