Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: src/a64/debugger-a64.h

Issue 185653004: Experimental parser: merge to r19637 (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/a64/debug-a64.cc ('k') | src/a64/debugger-a64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/debugger-a64.h
diff --git a/src/hydrogen-bch.h b/src/a64/debugger-a64.h
similarity index 77%
copy from src/hydrogen-bch.h
copy to src/a64/debugger-a64.h
index a22dacdd4229748e2735b3c0d8519c927b2f617d..60ea639bbf79ac4d761d66ba19661dcf469faddd 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<DispatchingDecoderVisitor>* 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_
« no previous file with comments | « src/a64/debug-a64.cc ('k') | src/a64/debugger-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698