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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 10534105: Implement is32 LoadIndexed. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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 | « runtime/vm/assembler_ia32.h ('k') | runtime/vm/flow_graph_compiler_ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler.cc
===================================================================
--- runtime/vm/flow_graph_compiler.cc (revision 8552)
+++ runtime/vm/flow_graph_compiler.cc (working copy)
@@ -364,4 +364,28 @@
assembler()->Comment("@%d: %s", instr->cid(), buffer);
}
+
+void FlowGraphCompiler::EmitLoadIndexedGeneric(LoadIndexedComp* comp) {
+ const String& function_name =
+ String::ZoneHandle(String::NewSymbol(Token::Str(Token::kINDEX)));
+
+ AddCurrentDescriptor(PcDescriptors::kDeopt,
+ comp->cid(),
+ comp->token_index(),
+ comp->try_index());
+
+ const intptr_t kNumArguments = 2;
+ const intptr_t kNumArgsChecked = 1; // Type-feedback.
+ GenerateInstanceCall(comp->cid(),
+ comp->token_index(),
+ comp->try_index(),
+ function_name,
+ kNumArguments,
+ Array::ZoneHandle(), // No optional arguments.
+ kNumArgsChecked);
+}
+
+
+
+
} // namespace dart
« no previous file with comments | « runtime/vm/assembler_ia32.h ('k') | runtime/vm/flow_graph_compiler_ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698