Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3c - use fast unwrapping for nsIDOMNode_GetNodeType. r=jst.
authorPeter Van der Beken <peterv@propagandism.org>
Mon, 31 May 2010 18:56:53 +0200
changeset 43015 a206d1143cc2191b3c4881fe9225a6c9047d9574
parent 43014 2e351d9a80cac71f4e7b4a14dba7500e4ac7f2ea
child 43016 60c10254881c96104000eccc04104f51f60adb23
push id13574
push userpvanderbeken@mozilla.com
push dateWed, 02 Jun 2010 10:28:24 +0000
treeherdermozilla-central@a206d1143cc2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjst
bugs560462
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3c - use fast unwrapping for nsIDOMNode_GetNodeType. r=jst.
js/src/xpconnect/src/dom_quickstubs.qsconf
--- a/js/src/xpconnect/src/dom_quickstubs.qsconf
+++ b/js/src/xpconnect/src/dom_quickstubs.qsconf
@@ -625,16 +625,20 @@ customMethodCalls = {
         },
     'nsIDOMNode_AppendChild': {
         'thisType': 'nsINode',
         'arg0Type': 'nsINode',
         'code': '    nsINode *result = self->AppendChild(arg0, &rv);\n'
                 '    if(NS_FAILED(rv))\n'
                 '        result = nsnull;'
         },
+    'nsIDOMNode_GetNodeType': {
+        'thisType': 'nsINode',
+        'canFail': False
+        },
     'nsIDOMNodeList_Item': {
         'thisType': 'nsINodeList',
         'code': '    nsINode *result = self->GetNodeAt(arg0);',
         'canFail': False
         },
     'nsIDOMHTMLDocument_Write': {
         'code': nsIDOMHTMLDocument_Write_customMethodCallCode % 'Write'
         },