Chromium Code Reviews| Index: src/arm/lithium-arm.h |
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
| index 5b1a76f734aba6a760d1f4c8f128ac86627d70ef..52ee6efc5f2f237e790266b4f43ea01a36329bb4 100644 |
| --- a/src/arm/lithium-arm.h |
| +++ b/src/arm/lithium-arm.h |
| @@ -2231,6 +2231,10 @@ class LChunk: public LChunkBase { |
| int GetNextSpillIndex(bool is_double); |
| LOperand* GetNextSpillSlot(bool is_double); |
| + |
| + static LChunk* cast(LChunkBase* chunk_base) { |
| + return reinterpret_cast<LChunk*>(chunk_base); |
| + } |
| }; |