js/src/jit/EffectiveAddressAnalysis.h
author Ehsan Akhgari <ehsan@mozilla.com>
Sun, 25 May 2014 21:46:24 -0400
changeset 185108 5021d1337fa9bb5cca83ae0800c6ca1902167d2b
parent 148911 5b35eb07b456230d507df38326032ae6bbffb043
child 236371 0c030f97a04f4e34c138b878c4352423f5e920f9
permissions -rw-r--r--
Bug 1013663 - Fix some bad implicit conversion constructors in the JS engine; r=jorendorff,jandem

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
 * vim: set ts=8 sts=4 et sw=4 tw=99:
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef jit_EffectiveAddressAnalysis_h
#define jit_EffectiveAddressAnalysis_h

namespace js {
namespace jit {

class MIRGraph;

class EffectiveAddressAnalysis
{
    MIRGraph &graph_;

  public:
    explicit EffectiveAddressAnalysis(MIRGraph &graph)
      : graph_(graph)
    {}

    bool analyze();
};

} /* namespace jit */
} /* namespace js */

#endif /* jit_EffectiveAddressAnalysis_h */