Line data Source code
1 : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 : * vim: set ts=8 sts=4 et sw=4 tw=99:
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/. */
6 :
7 : #ifndef jit_AlignmentMaskAnalysis_h
8 : #define jit_AlignmentMaskAnalysis_h
9 :
10 : #include "mozilla/Attributes.h"
11 :
12 : namespace js {
13 : namespace jit {
14 :
15 : class MIRGraph;
16 :
17 : class AlignmentMaskAnalysis
18 : {
19 : MIRGraph& graph_;
20 :
21 : public:
22 0 : explicit AlignmentMaskAnalysis(MIRGraph& graph)
23 0 : : graph_(graph)
24 0 : {}
25 :
26 : MOZ_MUST_USE bool analyze();
27 : };
28 :
29 : } /* namespace jit */
30 : } /* namespace js */
31 :
32 : #endif /* jit_AlignmentMaskAnalysis_h */
|