Bug 627475 - Fix missing return stmt for Android (fixes changeset 4031baed59f7)
authorBill McCloskey <wmccloskey@mozilla.com>
Mon, 24 Jan 2011 15:16:27 -0800
changeset 61248 4f9f2c9f1e64c1eccb7962a307fdd9ca4f8f70c2
parent 61247 bee0e6e72ca50dedbe19f284e8149fb03f2f2d42
child 61249 681559908e2aeb59afac01b6c2b43b2fc7bdee36
push id18277
push usercleary@mozilla.com
push dateTue, 25 Jan 2011 03:52:51 +0000
treeherdermozilla-central@7ee91bd90e7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs627475
milestone2.0b10pre
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 627475 - Fix missing return stmt for Android (fixes changeset 4031baed59f7)
js/src/methodjit/Compiler.cpp
--- a/js/src/methodjit/Compiler.cpp
+++ b/js/src/methodjit/Compiler.cpp
@@ -4824,16 +4824,17 @@ mjit::Compiler::constructThis()
     return true;
 }
 
 bool
 mjit::Compiler::jsop_tableswitch(jsbytecode *pc)
 {
 #if defined JS_CPU_ARM
     JS_NOT_REACHED("Implement jump(BaseIndex) for ARM");
+    return true;
 #else
     jsbytecode *originalPC = pc;
 
     uint32 defaultTarget = GET_JUMP_OFFSET(pc);
     pc += JUMP_OFFSET_LEN;
 
     jsint low = GET_JUMP_OFFSET(pc);
     pc += JUMP_OFFSET_LEN;