Chromium Code Reviews| Index: runtime/vm/code_generator.h |
| =================================================================== |
| --- runtime/vm/code_generator.h (revision 7102) |
| +++ runtime/vm/code_generator.h (working copy) |
| @@ -124,6 +124,19 @@ |
| }; |
| +// A subtype test cache is an array remembering subtype tests for given values. |
| +class SubTypeTestCache : public AllStatic { |
| + public: |
| + enum Entries { |
| + kInstanceClass = 0, |
| + kInstanceTypeArguments = 1, |
| + kInstantiatorArguments = 2, |
|
regis
2012/04/27 23:27:48
Is kInstantiatorTypeArguments too long? That would
srdjan
2012/04/27 23:43:19
renamed to kInstantiatorTypeArguments
|
| + kTestResult = 3, |
| + kNumEntries = 4, |
| + }; |
| +}; |
| + |
| + |
| RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate, |
| const Instance& receiver); |