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

Unified Diff: runtime/vm/flow_graph_compiler_arm.h

Issue 11956004: Fix vm code base so that it can be built for --arch=simarm (no snapshot yet). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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 | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_arm.h
===================================================================
--- runtime/vm/flow_graph_compiler_arm.h (revision 17245)
+++ runtime/vm/flow_graph_compiler_arm.h (working copy)
@@ -1,59 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-#ifndef VM_FLOW_GRAPH_COMPILER_ARM_H_
-#define VM_FLOW_GRAPH_COMPILER_ARM_H_
-
-#ifndef VM_FLOW_GRAPH_COMPILER_H_
-#error Include flow_graph_compiler.h instead of flow_graph_compiler_arm.h.
-#endif
-
-#include "vm/flow_graph.h"
-#include "vm/intermediate_language.h"
-
-namespace dart {
-
-class Assembler;
-class Code;
-template <typename T> class GrowableArray;
-class ParsedFunction;
-
-// Stubbed out implementation of graph compiler, bails out immediately if
-// CompileGraph is called. The rest of the public API is UNIMPLEMENTED.
-class FlowGraphCompiler : public FlowGraphVisitor {
- public:
- FlowGraphCompiler(Assembler* assembler,
- const FlowGraph& flow_graph,
- bool is_optimizing)
- : FlowGraphVisitor(flow_graph.reverse_postorder()),
- parsed_function_(flow_graph.parsed_function()),
- is_optimizing_(is_optimizing) {
- }
-
- virtual ~FlowGraphCompiler() { }
-
- static bool CanOptimize();
- bool CanOptimizeFunction() const;
-
- void CompileGraph();
-
- void FinalizePcDescriptors(const Code& code);
- void FinalizeStackmaps(const Code& code);
- void FinalizeVarDescriptors(const Code& code);
- void FinalizeExceptionHandlers(const Code& code);
- void FinalizeComments(const Code& code);
-
- private:
- // Bail out of the flow graph compiler. Does not return to the caller.
- void Bailout(const char* reason);
-
- const ParsedFunction& parsed_function_;
- const bool is_optimizing_;
-
- DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
-};
-
-} // namespace dart
-
-#endif // VM_FLOW_GRAPH_COMPILER_ARM_H_
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698