diff --git a/js/src/ion/IonFrames.cpp b/js/src/ion/IonFrames.cpp index 880a6396905d..cb6138e0905d 100644 --- a/js/src/ion/IonFrames.cpp +++ b/js/src/ion/IonFrames.cpp @@ -1127,11 +1127,11 @@ IonFrameIterator::ionScript() const switch (GetCalleeTokenTag(calleeToken())) { case CalleeToken_Function: case CalleeToken_Script: - return script()->ionScript(); + return script()->ionScript(); case CalleeToken_ParallelFunction: - return script()->parallelIonScript(); + return script()->parallelIonScript(); default: - JS_NOT_REACHED("unknown callee token type"); + JS_NOT_REACHED("unknown callee token type"); } } diff --git a/js/src/vm/Shape.h b/js/src/vm/Shape.h index 46ed68612c14..53ab88e40db8 100644 --- a/js/src/vm/Shape.h +++ b/js/src/vm/Shape.h @@ -1099,8 +1099,8 @@ Shape::search(JSContext *cx, Shape *start, jsid id, Shape ***pspp, bool adding) } /* - * Keep this function in sync with search. It should return false whenever - * search would transition to a ShapeTable. + * Keep this function in sync with search. It neither hashifies the start + * shape nor increments linear search count. */ inline Shape * Shape::searchNoHashify(Shape *start, jsid id)