Chromium Code Reviews| Index: vm/stub_code.h |
| =================================================================== |
| --- vm/stub_code.h (revision 700) |
| +++ vm/stub_code.h (working copy) |
| @@ -26,7 +26,6 @@ |
| V(AllocateArray) \ |
| V(CallNoSuchMethodFunction) \ |
| V(MegamorphicLookup) \ |
| - V(CallInstanceFunction) \ |
| V(CallStaticFunction) \ |
| V(CallClosureFunction) \ |
| V(StackOverflow) \ |
| @@ -41,6 +40,7 @@ |
| #define STUB_CODE_LIST(V) \ |
| V(InvokeDartCode) \ |
| V(AllocateContext) \ |
| + V(InlineCache1) \ |
|
regis
2011/10/25 18:06:27
I guess "1" means "check receiver only". Should yo
srdjan
2011/10/25 18:28:50
The 1 should denote one argument checked. Removing
|
| // class StubEntry is used to describe stub methods generated in dart to |
| @@ -72,8 +72,8 @@ |
| public: |
| StubCode() |
| : |
| -#define STUB_CODE_INITIALIZER(name) \ |
| - name##_entry_(NULL), |
| +#define STUB_CODE_INITIALIZER(name) \ |
| + name##_entry_(NULL), \ |
| STUB_CODE_LIST(STUB_CODE_INITIALIZER) |
| dummy_(NULL) {} |
| ~StubCode(); |
| @@ -93,8 +93,6 @@ |
| // Check if specified pc is in the dart invocation stub used for |
| // transitioning into dart code. |
| static bool InInvocationStub(uword pc); |
| - // Check if specified pc is in CallInstanceFunction stub. |
| - static bool InCallInstanceFunctionStubCode(uword pc); |
| // Check if specified pc is in StubCallToRuntime stub. |
| static bool InStubCallToRuntimeStubCode(uword pc); |