gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/avm2 r9553: COERCE opcode: Make this a no-


From: Tom Stellard
Subject: [Gnash-commit] /srv/bzr/gnash/avm2 r9553: COERCE opcode: Make this a no-op for now.
Date: Wed, 10 Sep 2008 00:23:40 +0800
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9553
committer: Tom Stellard <address@hidden>
branch nick: gnash_dev
timestamp: Wed 2008-09-10 00:23:40 +0800
message:
  COERCE opcode:  Make this a no-op for now.
modified:
  libcore/vm/Machine.cpp
=== modified file 'libcore/vm/Machine.cpp'
--- a/libcore/vm/Machine.cpp    2008-09-09 03:50:38 +0000
+++ b/libcore/vm/Machine.cpp    2008-09-09 16:23:40 +0000
@@ -1796,13 +1796,14 @@
                as_value value = pop_stack();
 
                //TODO: Actually coerce the value.
-               if(value.is_null()){
-                       as_value new_type = get_property_value(a);
-                       push_stack(new_type);
-               }
-               else{
+//             if(value.is_null()){
+//                     as_value new_type = get_property_value(a);
+//                     value->
+//                     push_stack(new_type);
+//             }
+//             else{
                        push_stack(value);
-               }
+//             }
                break;
        }
 /// 0x82 ABC_ACTION_COERCE_A


reply via email to

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