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

Unified Diff: runtime/vm/flow_graph_compiler_x64.h

Issue 10458050: Move ReturnInstr to new scheme (x64 and ia32) and implement more code in new ia32 compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_x64.h
===================================================================
--- runtime/vm/flow_graph_compiler_x64.h (revision 8165)
+++ runtime/vm/flow_graph_compiler_x64.h (working copy)
@@ -50,11 +50,17 @@
Register reg1,
Register reg2);
+ bool is_optimizing() const { return is_optimizing_; }
+ const ParsedFunction& parsed_function() const { return parsed_function_; }
void GenerateCallRuntime(intptr_t cid,
intptr_t token_index,
intptr_t try_index,
const RuntimeEntry& entry);
+ void AddCurrentDescriptor(PcDescriptors::Kind kind,
+ intptr_t cid,
+ intptr_t token_index,
+ intptr_t try_index);
// Returns true if the next block after current in the current block order
// is the given block.
@@ -93,8 +99,6 @@
BlockEntryInstr* current_block() const { return current_block_; }
- bool is_optimizing() const { return is_optimizing_; }
-
// Bail out of the flow graph compiler. Does not return to the caller.
void Bailout(const char* reason);
@@ -142,10 +146,6 @@
intptr_t try_index,
const ExternalLabel* label,
PcDescriptors::Kind kind);
- void AddCurrentDescriptor(PcDescriptors::Kind kind,
- intptr_t cid,
- intptr_t token_index,
- intptr_t try_index);
// Type checking helper methods.
void CheckClassIds(const GrowableArray<intptr_t>& class_ids,
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698