2013-07-11 08:21:50 +00:00
|
|
|
// Copyright 2013 the V8 project authors. All rights reserved.
|
2014-04-29 06:42:26 +00:00
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
2013-07-11 08:21:50 +00:00
|
|
|
|
|
|
|
#ifndef V8_HYDROGEN_CANONICALIZE_H_
|
|
|
|
#define V8_HYDROGEN_CANONICALIZE_H_
|
|
|
|
|
2014-06-03 08:12:43 +00:00
|
|
|
#include "src/hydrogen.h"
|
2013-07-11 08:21:50 +00:00
|
|
|
|
|
|
|
namespace v8 {
|
|
|
|
namespace internal {
|
|
|
|
|
|
|
|
|
|
|
|
class HCanonicalizePhase : public HPhase {
|
|
|
|
public:
|
|
|
|
explicit HCanonicalizePhase(HGraph* graph)
|
|
|
|
: HPhase("H_Canonicalize", graph) { }
|
|
|
|
|
|
|
|
void Run();
|
|
|
|
|
|
|
|
private:
|
|
|
|
DISALLOW_COPY_AND_ASSIGN(HCanonicalizePhase);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} } // namespace v8::internal
|
|
|
|
|
|
|
|
#endif // V8_HYDROGEN_CANONICALIZE_H_
|