Bug 1874684 - Part 31: Correctly reject invalid durations in some RoundDuration calls...
[gecko.git] / js / src / jit / RematerializedFrame-inl.h
blob390aaa35d076fd750d66a3dbd16e83c52de19c7f
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 * vim: set ts=8 sts=2 et sw=2 tw=80:
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef jit_RematerializedFrame_inl_h
8 #define jit_RematerializedFrame_inl_h
10 #include "jit/RematerializedFrame.h"
12 #include "mozilla/Assertions.h" // MOZ_ASSERT
14 #include "vm/JSScript.h" // JSScript
16 #include "vm/JSScript-inl.h" // JSScript::isDebuggee
18 inline void js::jit::RematerializedFrame::unsetIsDebuggee() {
19 MOZ_ASSERT(!script()->isDebuggee());
20 isDebuggee_ = false;
23 #endif // jit_RematerializedFrame_inl_h