Chromium Code Reviews| Index: runtime/vm/code_generator.cc |
| =================================================================== |
| --- runtime/vm/code_generator.cc (revision 12265) |
| +++ runtime/vm/code_generator.cc (working copy) |
| @@ -980,6 +980,22 @@ |
| } |
| +DEFINE_RUNTIME_ENTRY(InlineCacheMissHandlerThreeArgs, 3) { |
| + ASSERT(arguments.Count() == |
| + kInlineCacheMissHandlerThreeArgsRuntimeEntry.argument_count()); |
| + const Instance& receiver = Instance::CheckedHandle(arguments.At(0)); |
| + const Instance& other = Instance::CheckedHandle(arguments.At(1)); |
|
Vyacheslav Egorov (Google)
2012/09/12 15:38:09
why no first and second or arg1, arg2 ?
srdjan
2012/09/12 15:45:25
Done.
|
| + const Instance& other_other = Instance::CheckedHandle(arguments.At(2)); |
| + GrowableArray<const Instance*> args(3); |
| + args.Add(&receiver); |
| + args.Add(&other); |
| + args.Add(&other_other); |
| + const Function& result = |
| + Function::Handle(InlineCacheMissHandler(isolate, args)); |
| + arguments.SetReturn(result); |
| +} |
| + |
| + |
| static RawFunction* LookupDynamicFunction(Isolate* isolate, |
| const Class& in_cls, |
| const String& name) { |