Index: src/a64/debugger-a64.h |
diff --git a/src/hydrogen-bch.h b/src/a64/debugger-a64.h |
similarity index 78% |
copy from src/hydrogen-bch.h |
copy to src/a64/debugger-a64.h |
index a22dacdd4229748e2735b3c0d8519c927b2f617d..1317b5f37d3c55ceff6132960d507cdd4bb22e22 100644 |
--- a/src/hydrogen-bch.h |
+++ b/src/a64/debugger-a64.h |
@@ -25,31 +25,32 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-#ifndef V8_HYDROGEN_BCH_H_ |
-#define V8_HYDROGEN_BCH_H_ |
+#ifndef V8_A64_DEBUGGER_A64_H_ |
+#define V8_A64_DEBUGGER_A64_H_ |
-#include "hydrogen.h" |
+#if defined(USE_SIMULATOR) |
+ |
+#include "globals.h" |
+#include "utils.h" |
+#include "a64/constants-a64.h" |
+#include "a64/simulator-a64.h" |
namespace v8 { |
namespace internal { |
-class HBoundsCheckHoistingPhase : public HPhase { |
+class Debugger : public Simulator { |
public: |
- explicit HBoundsCheckHoistingPhase(HGraph* graph) |
- : HPhase("H_Bounds checks hoisting", graph) { } |
- |
- void Run() { |
- HoistRedundantBoundsChecks(); |
- } |
+ Debugger(Decoder* decoder, FILE* stream = stderr) |
+ : Simulator(decoder, NULL, stream) {} |
- private: |
- void HoistRedundantBoundsChecks(); |
- |
- DISALLOW_COPY_AND_ASSIGN(HBoundsCheckHoistingPhase); |
+ // Functions overloading. |
+ void VisitException(Instruction* instr); |
}; |
} } // namespace v8::internal |
-#endif // V8_HYDROGEN_BCE_H_ |
+#endif // USE_SIMULATOR |
+ |
+#endif // V8_A64_DEBUGGER_A64_H_ |