From 3904cfc18962c419642c247c026993ebf8f25f9b Mon Sep 17 00:00:00 2001 From: Shu-yu Guo Date: Mon, 15 Apr 2013 13:21:42 -0700 Subject: [PATCH] Bug 846111 followup - Expand some stray tabs and fix typo in comment. (r=me) DONTBUILD --- js/src/ion/IonFrames.cpp | 6 +++--- js/src/vm/Shape.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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)