Improve frame destructor performance
authorJan Vorlicek <janvorli@microsoft.com>
Tue, 6 Oct 2015 00:25:36 +0000 (02:25 +0200)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 12 Oct 2015 22:02:55 +0000 (00:02 +0200)
commitd6a18e3e12074fad765ed1ba055ef3861f85efaf
treeb2fac1494c520aab5a48a1904b15acb2a2af6492
parenta0b2e3347ac38961e7c626fea5970d5848facacd
Improve frame destructor performance

This change makes the Frame destructor access thread local storage much less often,
only in rare case when the Frame was not popped before the destructor is called.
src/vm/frames.cpp
src/vm/frames.h