Chromium Code Reviews| Index: src/x64/lithium-x64.h |
| diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
| index 14a6c541e456b59d0919467885417213b1bbf982..50eb3e705148e6260fd3fc4f62a6e3e4af043344 100644 |
| --- a/src/x64/lithium-x64.h |
| +++ b/src/x64/lithium-x64.h |
| @@ -2185,6 +2185,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); |
| + } |
| }; |