Backed out changeset a05bfd76c34c (bug 1168992) for Spidermonkey bustage on CLOSED TREE
authorNigel Babu <nigelbabu@gmail.com>
Thu, 03 Sep 2015 08:57:02 +0530
changeset 260648 f7515eddee8bffc612c44fd3538ae9b5241cdae0
parent 260647 5e73247011308429810e8bd2fbafa3c1bb898f39
child 260649 5cc421782909055b81fa51ad465601f3854cfd90
push id29318
push usercbook@mozilla.com
push dateThu, 03 Sep 2015 11:15:07 +0000
treeherdermozilla-central@74fbd245369c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1168992
milestone43.0a1
backs outa05bfd76c34c42dd351cd96d68bdfefb4115d597
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
Backed out changeset a05bfd76c34c (bug 1168992) for Spidermonkey bustage on CLOSED TREE
js/src/builtin/ReflectParse.cpp
js/src/jit-test/tests/modules/export-declaration.js
js/src/tests/js1_8_5/reflect-parse/PatternBuilders.js
--- a/js/src/builtin/ReflectParse.cpp
+++ b/js/src/builtin/ReflectParse.cpp
@@ -1814,18 +1814,18 @@ NodeBuilder::classDefinition(bool expr, 
                              TokenPos* pos, MutableHandleValue dst)
 {
     ASTType type = expr ? AST_CLASS_EXPR : AST_CLASS_STMT;
     RootedValue cb(cx, callbacks[type]);
     if (!cb.isNull())
         return callback(cb, name, heritage, block, pos, dst);
 
     return newNode(type, pos,
-                   "id", name,
-                   "superClass", heritage,
+                   "name", name,
+                   "heritage", heritage,
                    "body", block,
                    dst);
 }
 
 bool
 NodeBuilder::newTargetExpression(TokenPos* pos, MutableHandleValue dst)
 {
     RootedValue cb(cx, callbacks[AST_NEWTARGET_EXPR]);
--- a/js/src/jit-test/tests/modules/export-declaration.js
+++ b/js/src/jit-test/tests/modules/export-declaration.js
@@ -33,17 +33,17 @@ functionDeclaration = (id, params, body)
     params: params,
     defaults: [],
     body: body,
     rest: null,
     generator: false
 });
 classDeclaration = (name) => Pattern({
     type: "ClassStatement",
-    id: name
+    name: name
 });
 variableDeclaration = (decls) => Pattern({
     type: "VariableDeclaration",
     kind: "var",
     declarations: decls
 });
 constDeclaration = (decls) => Pattern({
     type: "VariableDeclaration",
--- a/js/src/tests/js1_8_5/reflect-parse/PatternBuilders.js
+++ b/js/src/tests/js1_8_5/reflect-parse/PatternBuilders.js
@@ -127,24 +127,24 @@ function superProp(id) {
     return dotExpr(ident("super"), id);
 }
 function superElem(id) {
     return memExpr(ident("super"), id);
 }
 
 function classStmt(id, heritage, body) {
     return Pattern({ type: "ClassStatement",
-                     id: id,
-                     superClass: heritage,
+                     name: id,
+                     heritage: heritage,
                      body: body});
 }
 function classExpr(id, heritage, body) {
     return Pattern({ type: "ClassExpression",
-                     id: id,
-                     superClass: heritage,
+                     name: id,
+                     heritage: heritage,
                      body: body});
 }
 function classMethod(id, body, kind, static) {
     return Pattern({ type: "ClassMethod",
                      name: id,
                      body: body,
                      kind: kind,
                      static: static });