Re: [webkit-dev] Functionality of create_activation and tear_off_activation

2013-06-20 Thread Abhishek Bichhawat
From: Geoffrey Garen gga...@apple.com To: Abhishek Bichhawat abhishek_bichha...@yahoo.co.in Cc: webkit-dev@lists.webkit.org webkit-dev@lists.webkit.org Sent: Wednesday, 19 June 2013 6:53 PM Subject: Re: [webkit-dev] Functionality of create_activation and tear_off_activation

Re: [webkit-dev] Functionality of create_activation and tear_off_activation

2013-06-19 Thread Geoffrey Garen
op_create_activation creates a closure. op_tear_off_activation copies stack variables into the heap in order to persist the closure after the function returns. For more information about closures, see http://en.wikipedia.org/wiki/Closure_(computer_science). Geoff On Jun 18, 2013, at 12:38

[webkit-dev] Functionality of create_activation and tear_off_activation

2013-06-18 Thread Abhishek Bichhawat
Hi, We are working on a research project involving webkit. We are currently using Webkit-r122160 and trying to understand the functionality of two of the opcodes  (op_create_activation and op_tear_off_activation), which are a part of the classical interpreter. Although, the classical