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

Unified Diff: runtime/vm/intermediate_language.h

Issue 10448079: Address review comments in commited cl (issue 10460002). (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/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 8115)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -1008,13 +1008,14 @@
class CreateClosureComp : public Computation {
public:
- // 'type_arguments' is null if function() does not require type arguments.
CreateClosureComp(ClosureNode* node,
intptr_t try_index,
Value* type_arguments)
: ast_node_(*node),
try_index_(try_index),
- type_arguments_(type_arguments) {}
+ type_arguments_(type_arguments) {
+ ASSERT(type_arguments != NULL);
+ }
DECLARE_COMPUTATION(CreateClosure)

Powered by Google App Engine
This is Rietveld 408576698