[Newcompiler] Finding enough bytecodes for closures.

Klaus D. Witzel klaus.witzel at cobss.com
Tue May 1 10:43:59 UTC 2007


Bryce is an expert on contexts, I as you believe he meant the  
MethodContext which must exist before creation of some BlockContext makes  
any sense (any sense to the VM).

Nevertheless, I hope he clarifies :)

Cheers
Klaus

On Tue, 01 May 2007 12:32:34 +0200, Mathieu Suen wrote:

> Oops sorry I thought it was talking about  BockClosure. Actually I don't  
> know why 2.
> 	Mth
>
>
>
> On May 1, 2007, at 12:14 PM, Klaus D. Witzel wrote:
>
>> In sum: yes. But I read it like it was written: "to create any  
>> BlockContext some code must create at leat two objects".
>>
>> This is not the case in the sense that MethodContext is not created  
>> because of the BlockContext.
>>
>> It already exists and can be subtracted from the equeation (when  
>> comparing BlockClosure v.s. BlockContext, as we did in the thread).
>>
>> But anyways, in sum: yes :)
>>
>> Cheers
>> Klaus
>>
>> On Tue, 01 May 2007 12:00:17 +0200, Mathieu Suen wrote:
>>
>>> One for the BlockContext and one for the MethodContext. This because  
>>> the BlockContext work on a CompiledMethod which require a  
>>> MethodContext to be execute
>>> 	Mth
>>>
>>>
>>>
>>> On May 1, 2007, at 9:45 AM, Klaus D. Witzel wrote:
>>>
>>>>> In every
>>>>> case the BlockContext code needs to create at least 2 objects
>>>>
>>>> Two? What would be the other one?
>>>
>>>
>>> 	
>>>
>>> 	
>>> 		
>>> _____________________________________________________________________ 
>>> ______Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail  
>>> et son interface révolutionnaire.
>>> http://fr.mail.yahoo.com
>>
>>
>
>
>
>
>
>
> ___________________________________________________________________________
> Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son  
> interface révolutionnaire.
> http://fr.mail.yahoo.com




More information about the Newcompiler mailing list