[VW] Generating the c-code

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Fri Aug 8 17:26:52 UTC 2003


Tim Rowledge wrote:

> Alexandre Bergel <bergel at iam.unibe.ch> wrote:
> 
> 
>>>Is there a specific reason why you don't use VMMaker?
>>
>>Because:
>>  - With VMMaker I get the same bench of errors.
> 
> Because the error is nothing whatsoever to do with VMMaker or any
> other part of the vm generation system. It's purely to do with the
> outside code you have.
> 
> 
>>  - And I want to have more control, for instance I compile often without inlining the code, and as far as I can see, there is such option in VMMaker.
>>
> 
> Read some code; the vmmaker and ccodegenerator can do non-inline
> generation. There is no button for it in the VMMakerTool because it
> simply doesn't work to generate the whole vm without inlining. No point
> having a UI for a non-functional capability.
> 
> It is just about possible to generate a non-inlined core vm but at least
> one of the plugins cannot currently generate like that. More work is
> needed. When it can all work, a UI can be added. I tried this myself
> only a few days ago when assembling the latest SM VMMaker package.
> 
> It you use the correct code and correct tools it will probably be much
> simpler.

The correct code would be something like (from memory)

	Interpreter translateIn: FileDirectory default
		doInline: false browserPlugin: false

-- Bert



More information about the Squeak-dev mailing list