Bug 1138693 - Add an early quit to the test if TypedObject isn't enabled. r=nbp
authorRyan VanderMeulen <ryanvm@gmail.com>
Wed, 05 Aug 2015 09:11:19 -0400
changeset 287971 72341fb355fa66c054b6a60ba35b2f87cbf65dfe
parent 287970 6ee1f299da22b5f8da7f4aaa31b5f15ed13593cc
child 287972 8a866b4de644140d10238d87ff8581a5646a3c23
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnbp
bugs1138693
milestone42.0a1
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
Bug 1138693 - Add an early quit to the test if TypedObject isn't enabled. r=nbp
js/src/jit-test/tests/ion/scalar-replacement-bug1138693.js
--- a/js/src/jit-test/tests/ion/scalar-replacement-bug1138693.js
+++ b/js/src/jit-test/tests/ion/scalar-replacement-bug1138693.js
@@ -1,8 +1,11 @@
+if (!this.hasOwnProperty("TypedObject"))
+  quit();
+
 var T = TypedObject;
 var ST = new T.StructType({x:T.int32});
 function check(v) {
     return v.toSource();
 }
 function test() {
     var fake = { toSource: ST.toSource };
     try {