gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, objecturi, updated. bb5ed5d6ee5e5db13


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, objecturi, updated. bb5ed5d6ee5e5db13be240b9e1df86e6c67635a6
Date: Thu, 23 Sep 2010 20:46:05 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, objecturi has been updated
       via  bb5ed5d6ee5e5db13be240b9e1df86e6c67635a6 (commit)
       via  9e472b6b31d970fe8914e42979dd440c1a6f97f1 (commit)
      from  061f15fd40ae9d31c960a2a36fa9d69c7f34f8d7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=bb5ed5d6ee5e5db13be240b9e1df86e6c67635a6


commit bb5ed5d6ee5e5db13be240b9e1df86e6c67635a6
Author: Sandro Santilli <address@hidden>
Date:   Thu Sep 23 22:45:49 2010 +0200

    Add a test to be extra sure also normal properties lookup go trough 
__resolve (and not just lookups for function calls)

diff --git a/testsuite/actionscript.all/Object.as 
b/testsuite/actionscript.all/Object.as
index 8c10b29..55273c2 100644
--- a/testsuite/actionscript.all/Object.as
+++ b/testsuite/actionscript.all/Object.as
@@ -932,6 +932,10 @@ check_equals(typeof(result), "string");
 check_equals(result, "udef");
 check_equals(resolveCalled, 4);
 
+check_equals(g.cips, "passed");
+check_equals(result, "cips");
+check_equals(resolveCalled, 5);
+
 /// Check __proto__ and prototype during construction
 
 TestO = function() {};
@@ -1007,10 +1011,10 @@ o = new Object(b);
 check_equals(typeof(o), "undefined");
 
 #if OUTPUT_VERSION <= 5
-totals(134);
+totals(137);
 #endif
 
 #if OUTPUT_VERSION >= 6
-totals(322);
+totals(325);
 #endif
 

http://git.savannah.gnu.org/cgit//commit/?id=9e472b6b31d970fe8914e42979dd440c1a6f97f1


commit 9e472b6b31d970fe8914e42979dd440c1a6f97f1
Author: Sandro Santilli <address@hidden>
Date:   Thu Sep 23 20:50:57 2010 +0200

    Tweak getProperty stats some more: trigger every 10Millions lookups of 
__proto__, show 10 entries.

diff --git a/libcore/PropertyList.cpp b/libcore/PropertyList.cpp
index 818481c..46c4007 100644
--- a/libcore/PropertyList.cpp
+++ b/libcore/PropertyList.cpp
@@ -137,7 +137,7 @@ PropertyList::getProperty(const ObjectURI& uri) const
     // HINT: can add a final arg to KeyLookup ctor, like 
NSV::PROP_ON_MOUSE_MOVE
     //       to have *that* property lookup drive dump triggers
     static stats::KeyLookup kcl("getProperty",
-        getStringTable(_owner), 10000000);
+        getStringTable(_owner), 10000000, NSV::PROP_uuPROTOuu, 10);
     kcl.check(uri.name);
 #endif // GNASH_STATS_PROPERTY_LOOKUPS
        iterator found = iterator_find(_props, uri, getVM(_owner));

-----------------------------------------------------------------------

Summary of changes:
 libcore/PropertyList.cpp             |    2 +-
 testsuite/actionscript.all/Object.as |    8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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