Initial source code drop

Source code drop for the Actionscript virtual machine in the Adobe
Flash Player for December 2013
This commit is contained in:
dmcallis committed 2013-12-02 16:04:04 -08:00
1 parent c414dd9af4
commit 65a0592776
8909 files changed
+1776458 -249

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */
/* vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "avmplus.h"
using namespace MMgc;
namespace avmplus
{
#ifdef DEBUGGER
AvmPlusScriptableObject::AvmPlusScriptableObject(SamplerObjectType sot)
{
// Report the object allocation to the current memory sampler.
IMemorySampler *memSampler = getSampler();
if (memSampler)
{
memSampler->recordNewObjectAllocation(this, sot);
}
}
#endif
}