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

Unified Diff: vm/flow_graph_compiler_x64.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_ia32.cc ('k') | vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/flow_graph_compiler_x64.h
===================================================================
--- vm/flow_graph_compiler_x64.h (revision 9042)
+++ vm/flow_graph_compiler_x64.h (working copy)
@@ -70,30 +70,30 @@
bool TryIntrinsify();
void GenerateCallRuntime(intptr_t cid,
- intptr_t token_index,
+ intptr_t token_pos,
intptr_t try_index,
const RuntimeEntry& entry);
// Infrastructure copied from class CodeGenerator.
- void GenerateCall(intptr_t token_index,
+ void GenerateCall(intptr_t token_pos,
intptr_t try_index,
const ExternalLabel* label,
PcDescriptors::Kind kind);
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 GenerateInstanceOf(intptr_t cid,
- intptr_t token_index,
+ intptr_t token_pos,
intptr_t try_index,
const AbstractType& type,
bool negate_result);
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,
@@ -101,7 +101,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,
@@ -156,10 +156,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,
@@ -205,34 +205,34 @@
Label* is_not_instance_lbl);
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);
@@ -292,11 +292,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),
@@ -310,7 +310,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_ia32.cc ('k') | vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698