gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/avm2 r9550: get_scope_stack should return


From: Tom Stellard
Subject: [Gnash-commit] /srv/bzr/gnash/avm2 r9550: get_scope_stack should return the ith item from the bottom.
Date: Tue, 09 Sep 2008 11:08:38 +0800
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9550
committer: Tom Stellard <address@hidden>
branch nick: gnash_dev
timestamp: Tue 2008-09-09 11:08:38 +0800
message:
  get_scope_stack should return the ith item from the bottom.
modified:
  libcore/vm/Machine.h
=== modified file 'libcore/vm/Machine.h'
--- a/libcore/vm/Machine.h      2008-09-08 06:34:24 +0000
+++ b/libcore/vm/Machine.h      2008-09-09 03:08:38 +0000
@@ -298,8 +298,8 @@
                return mAsValueScopeStack.pop();
        }
        as_value get_scope_stack(boost::uint8_t depth){
-               LOG_DEBUG_AVM("Geting value from scope stack %u from the 
top.",depth | 0x0);
-               return as_value(mAsValueScopeStack.top(depth));
+               LOG_DEBUG_AVM("Geting value from scope stack %u from the 
bottom.",depth | 0x0);
+               return as_value(mAsValueScopeStack.value(depth));
        }
 
        SafeStack<as_value> mStack;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]