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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 10407018: Start porting fast typechecks to x64. (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
Index: runtime/vm/flow_graph_builder.h
===================================================================
--- runtime/vm/flow_graph_builder.h (revision 7716)
+++ runtime/vm/flow_graph_builder.h (working copy)
@@ -136,17 +136,21 @@
void BuildConstructorTypeArguments(ConstructorCallNode* node,
ZoneGrowableArray<Value*>* args);
- // Returns the value of the type arguments of the instantiator.
- Value* BuildInstantiatorTypeArguments(intptr_t token_index);
+ void BuildTypecheckArguments(intptr_t token_index,
+ Value** instantiator,
+ Value** instantiator_type_arguments);
+ Value* BuildInstantiator();
+ Value* BuildInstantiatorTypeArguments(intptr_t token_index,
+ Value* instantiator);
// Perform a type check on the given value.
- void BuildAssertAssignable(intptr_t token_index,
- Value* value,
- const AbstractType& dst_type,
- const String& dst_name);
+ AssertAssignableComp* BuildAssertAssignable(intptr_t token_index,
+ Value* value,
+ const AbstractType& dst_type,
+ const String& dst_name);
// Perform a type check on the given value and return it.
- Value* BuildAssignableValue(AstNode* value_node,
+ Value* BuildAssignableValue(intptr_t token_index,
Value* value,
const AbstractType& dst_type,
const String& dst_name);

Powered by Google App Engine
This is Rietveld 408576698