From f3657d6b4d4b30574a43a886bed6945590bf1508 Mon Sep 17 00:00:00 2001 From: "Nicolas B. Pierron" Date: Thu, 31 May 2018 14:22:14 +0200 Subject: Bug 1464829 - Ensure the recover instruction vector has the expected size. --- js/src/jit/JitFrameIterator.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'js/src/jit/JitFrameIterator.h') diff --git a/js/src/jit/JitFrameIterator.h b/js/src/jit/JitFrameIterator.h index ba5efef6a..3620badbd 100644 --- a/js/src/jit/JitFrameIterator.h +++ b/js/src/jit/JitFrameIterator.h @@ -322,9 +322,7 @@ class RInstructionResults MOZ_MUST_USE bool init(JSContext* cx, uint32_t numResults); bool isInitialized() const; -#ifdef DEBUG size_t length() const; -#endif JitFrameLayout* frame() const; -- cgit v1.2.3 From 4103fc0a8a054ba6126d2bbcc797219f8b2ebf2e Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Fri, 13 Jul 2018 06:11:55 +0200 Subject: Remove recover instruction results after bailouts. --- js/src/jit/JitFrameIterator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/src/jit/JitFrameIterator.h') diff --git a/js/src/jit/JitFrameIterator.h b/js/src/jit/JitFrameIterator.h index 3620badbd..76d04d092 100644 --- a/js/src/jit/JitFrameIterator.h +++ b/js/src/jit/JitFrameIterator.h @@ -509,13 +509,13 @@ class SnapshotIterator return recover_.moreInstructions(); } - protected: // Register a vector used for storing the results of the evaluation of // recover instructions. This vector should be registered before the // beginning of the iteration. This function is in charge of allocating // enough space for all instructions results, and return false iff it fails. MOZ_MUST_USE bool initInstructionResults(MaybeReadFallback& fallback); + protected: // This function is used internally for computing the result of the recover // instructions. MOZ_MUST_USE bool computeInstructionResults(JSContext* cx, RInstructionResults* results) const; -- cgit v1.2.3