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

Unified Diff: vm/flow_graph_compiler_ia32.h

Issue 10632009: Make the parser agnostic to the TokenStream implementation. This is the first step towards compacti… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 6 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 | « vm/flow_graph_compiler.cc ('k') | vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/flow_graph_compiler_ia32.h
===================================================================
--- vm/flow_graph_compiler_ia32.h (revision 9042)
+++ vm/flow_graph_compiler_ia32.h (working copy)
@@ -76,7 +76,7 @@
bool TryIntrinsify();
void GenerateCallRuntime(intptr_t cid,
- intptr_t token_index,
+ intptr_t token_pos,
intptr_t try_index,
const RuntimeEntry& entry);
@@ -86,23 +86,23 @@
const Array& arguments_descriptor,
intptr_t argument_count);
- void GenerateCall(intptr_t token_index,
+ void GenerateCall(intptr_t token_pos,
intptr_t try_index,
const ExternalLabel* label,
PcDescriptors::Kind kind);
void GenerateInstanceOf(intptr_t cid,
- intptr_t token_index,
+ intptr_t token_pos,
intptr_t try_index,
const AbstractType& type,
bool negate_result);
void GenerateAssertAssignable(intptr_t cid,
- intptr_t token_index,
+ intptr_t token_pos,
intptr_t try_index,
const AbstractType& dst_type,
const String& dst_name);
void GenerateInstanceCall(intptr_t cid,
- intptr_t token_index,
+ intptr_t token_pos,
intptr_t try_index,
const String& function_name,
intptr_t argument_count,
@@ -110,7 +110,7 @@
intptr_t checked_argument_count);
void GenerateStaticCall(intptr_t cid,
- intptr_t token_index,
+ intptr_t token_pos,
intptr_t try_index,
const Function& function,
intptr_t argument_count,
@@ -165,10 +165,10 @@
void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset);
void AddCurrentDescriptor(PcDescriptors::Kind kind,
intptr_t cid,
- intptr_t token_index,
+ intptr_t token_pos,
intptr_t try_index);
Label* AddDeoptStub(intptr_t deopt_id,
- intptr_t deopt_token_index,
+ intptr_t deopt_token_pos,
intptr_t try_index_,
DeoptReasonId reason,
Register reg1 = kNoRegister,
@@ -203,34 +203,34 @@
void GenerateInlinedSetter(intptr_t offset);
RawSubtypeTestCache* GenerateInlineInstanceof(intptr_t cid,
- intptr_t token_index,
+ intptr_t token_pos,
const AbstractType& type,
Label* is_instance_lbl,
Label* is_not_instance_lbl);
RawSubtypeTestCache* GenerateInstantiatedTypeWithArgumentsTest(
intptr_t cid,
- intptr_t token_index,
+ intptr_t token_pos,
const AbstractType& dst_type,
Label* is_instance_lbl,
Label* is_not_instance_lbl);
void GenerateInstantiatedTypeNoArgumentsTest(intptr_t cid,
- intptr_t token_index,
+ intptr_t token_pos,
const AbstractType& dst_type,
Label* is_instance_lbl,
Label* is_not_instance_lbl);
RawSubtypeTestCache* GenerateUninstantiatedTypeTest(
intptr_t cid,
- intptr_t token_index,
+ intptr_t token_pos,
const AbstractType& dst_type,
Label* is_instance_lbl,
Label* is_not_instance_label);
RawSubtypeTestCache* GenerateSubtype1TestCacheLookup(
intptr_t cid,
- intptr_t token_index,
+ intptr_t token_pos,
const Class& type_class,
Label* is_instance_lbl,
Label* is_not_instance_lbl);
@@ -291,11 +291,11 @@
class DeoptimizationStub : public ZoneAllocated {
public:
DeoptimizationStub(intptr_t deopt_id,
- intptr_t deopt_token_index,
+ intptr_t deopt_token_pos,
intptr_t try_index,
DeoptReasonId reason)
: deopt_id_(deopt_id),
- deopt_token_index_(deopt_token_index),
+ deopt_token_pos_(deopt_token_pos),
try_index_(try_index),
reason_(reason),
registers_(2),
@@ -309,7 +309,7 @@
private:
const intptr_t deopt_id_;
- const intptr_t deopt_token_index_;
+ const intptr_t deopt_token_pos_;
const intptr_t try_index_;
const DeoptReasonId reason_;
GrowableArray<Register> registers_;
« no previous file with comments | « vm/flow_graph_compiler.cc ('k') | vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698