From e72d2fb98bbcd0286eb8ae1f32cb5448047a5eda Mon Sep 17 00:00:00 2001 From: Jan de Mooij Date: Tue, 7 May 2013 09:34:42 +0200 Subject: [PATCH] Bug 868990 follow-up to fix --disable-ion build. --- js/src/vm/Stack.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/src/vm/Stack.cpp b/js/src/vm/Stack.cpp index 087d2578c1fe..6ddd056b4433 100644 --- a/js/src/vm/Stack.cpp +++ b/js/src/vm/Stack.cpp @@ -1608,6 +1608,8 @@ StackIter::isGlobalFrame() const return data_.ionFrames_.baselineFrame()->isGlobalFrame(); JS_ASSERT(!script()->isForEval()); return !script()->function(); +#else + break; #endif } JS_NOT_REACHED("Unexpected state"); @@ -1628,6 +1630,8 @@ StackIter::isEvalFrame() const return data_.ionFrames_.baselineFrame()->isEvalFrame(); JS_ASSERT(!script()->isForEval()); return false; +#else + break; #endif } JS_NOT_REACHED("Unexpected state"); @@ -1823,6 +1827,8 @@ StackIter::unaliasedActual(unsigned i, MaybeCheckAliasing checkAliasing) const #ifdef JS_ION JS_ASSERT(data_.ionFrames_.isBaselineJS()); return data_.ionFrames_.baselineFrame()->unaliasedActual(i, checkAliasing); +#else + break; #endif } JS_NOT_REACHED("Unexpected state"); @@ -1873,6 +1879,8 @@ StackIter::hasArgsObj() const #ifdef JS_ION JS_ASSERT(data_.ionFrames_.isBaselineJS()); return data_.ionFrames_.baselineFrame()->hasArgsObj(); +#else + break; #endif } JS_NOT_REACHED("Unexpected state");