| Index: runtime/vm/intermediate_language_ia32.cc
|
| diff --git a/runtime/vm/intermediate_language_ia32.cc b/runtime/vm/intermediate_language_ia32.cc
|
| index 2f3bb5d2f5c205ece6e23a7a9b0f6e4d3b5aac5d..49b60e38110e1564dd78000abaeb9b9d975965c4 100644
|
| --- a/runtime/vm/intermediate_language_ia32.cc
|
| +++ b/runtime/vm/intermediate_language_ia32.cc
|
| @@ -266,6 +266,27 @@ void NativeCallComp::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| }
|
|
|
|
|
| +LocationSummary* LoadIndexedComp::MakeLocationSummary() const {
|
| + return MakeCallSummary();
|
| +}
|
| +
|
| +
|
| +void LoadIndexedComp::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| + const String& function_name =
|
| + String::ZoneHandle(String::NewSymbol(Token::Str(Token::kINDEX)));
|
| +
|
| + const intptr_t kNumArguments = 2;
|
| + const intptr_t kNumArgsChecked = 1; // Type-feedback.
|
| + compiler->GenerateInstanceCall(cid(),
|
| + token_index(),
|
| + try_index(),
|
| + function_name,
|
| + kNumArguments,
|
| + Array::ZoneHandle(), // No optional arguments.
|
| + kNumArgsChecked);
|
| +}
|
| +
|
| +
|
| LocationSummary* StoreIndexedComp::MakeLocationSummary() const {
|
| const intptr_t kNumInputs = 3;
|
| return LocationSummary::Make(kNumInputs, Location::NoLocation());
|
|
|