Index: runtime/vm/flow_graph_compiler_ia32.cc |
diff --git a/runtime/vm/flow_graph_compiler_ia32.cc b/runtime/vm/flow_graph_compiler_ia32.cc |
index 532725591b6816a8a93ec468101ecb817be76182..1e67f813bf2fc221f2715d3a22eec60c91134381 100644 |
--- a/runtime/vm/flow_graph_compiler_ia32.cc |
+++ b/runtime/vm/flow_graph_compiler_ia32.cc |
@@ -742,6 +742,7 @@ void FlowGraphCompiler::CopyParameters() { |
__ j(GREATER, &next_parameter, Assembler::kNearJump); |
// Check if this named parameter was passed in. |
__ movl(EAX, Address(EDI, 0)); // Load EAX with the name of the argument. |
+ ASSERT(opt_param[i]->name().IsSymbol()); |
__ CompareObject(EAX, opt_param[i]->name()); |
__ j(NOT_EQUAL, &load_default_value, Assembler::kNearJump); |
// Load EAX with passed-in argument at provided arg_pos, i.e. at |