Added flag --compilation-cache which defaults to true.

http://codereview.chromium.org/113625/diff/1/5
File src/compilation-cache.cc (right):

http://codereview.chromium.org/113625/diff/1/5#newcode292
Line 292: enabled = true;
On 2009/05/20 08:33:08, Kasper Lund wrote:
> It would be great if you could add a flag to control this behavior too
- so we
> could always disable the compilation cache if we want to.

Added flag --compilation-cache which defailts to true.

http://codereview.chromium.org/113625/diff/1/5#newcode293
Line 293: Clear();
On 2009/05/20 08:33:08, Kasper Lund wrote:
> Is this Clear really meaningful?

Not really - removed.

http://codereview.chromium.org/113625/diff/1/4
File src/debug.cc (right):

http://codereview.chromium.org/113625/diff/1/4#newcode2177
Line 2177: // Disable the compilation cache when the debugger is active.
On 2009/05/20 08:33:08, Kasper Lund wrote:
> I guess SetEventListener and SetMessageHandler are used to both
activate and
> deactivate the debugger?

Yes you pass NULL to remove the listener/handler currently active.

http://codereview.chromium.org/113625

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to