[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/avm2 r9513: Clean up debug statements.
From: |
Tom Stellard |
Subject: |
[Gnash-commit] /srv/bzr/gnash/avm2 r9513: Clean up debug statements. |
Date: |
Fri, 22 Aug 2008 17:41:33 +0800 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9513
committer: Tom Stellard <address@hidden>
branch nick: gnash_traits
timestamp: Fri 2008-08-22 17:41:33 +0800
message:
Clean up debug statements.
modified:
libcore/parser/abc_block.cpp
=== modified file 'libcore/parser/abc_block.cpp'
--- a/libcore/parser/abc_block.cpp 2008-08-22 03:07:31 +0000
+++ b/libcore/parser/abc_block.cpp 2008-08-22 09:41:33 +0000
@@ -45,10 +45,7 @@
case KIND_SLOT:
case KIND_CONST:
{
- //TODO: Remove break.
- break;
// Validate the type.
- LOG_DEBUG_ABC("In finalize.A");
asClass *pType;
if (mTypeIndex){
LOG_DEBUG_ABC("mTypeIndex = %u\n",mTypeIndex);
@@ -57,7 +54,6 @@
else{
pType = pBlock->mTheObject;
}
- LOG_DEBUG_ABC("In finalize.B");
if (!pType)
{
ERR((_("ABC: Finalizing trait yielded bad type for
slot.\n")));
@@ -65,18 +61,14 @@
}
// The name has been validated in read.
if (mHasValue){
- LOG_DEBUG_ABC("In finalize.2");
pClass->addValue(mName, mNamespace, mSlotId, pType,
mValue, mKind == KIND_CONST, do_static);
- LOG_DEBUG_ABC("In finalize.1");
}
else{
LOG_DEBUG_ABC("In finalize.C");
pClass->addSlot(mName, mNamespace, mSlotId, pType,
do_static);
-
}
- LOG_DEBUG_ABC("In finalize.D");
break;
}
case KIND_METHOD:
@@ -203,7 +195,7 @@
boost::uint8_t kind = in->read_u8();
mKind = static_cast<kinds> (kind & 0x0F);
- LOG_DEBUG_ABC("Trait kind is 0x%X", kind | 0x0);
+ LOG_DEBUG_ABC("Trai name=%s Trait kind is 0x%X",
pBlock->mStringPool[multiname.getABCName()],kind | 0x0);
switch (mKind)
{
case KIND_SLOT:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/avm2 r9513: Clean up debug statements.,
Tom Stellard <=