Index: src/compiler/instruction-selector.h |
diff --git a/src/compiler/instruction-selector.h b/src/compiler/instruction-selector.h |
index 59a00d52e5dd4f88c6bd2b37f4a93d329da61f62..b6278b1f35d39a5e27fcd6e295c34304c23ed28b 100644 |
--- a/src/compiler/instruction-selector.h |
+++ b/src/compiler/instruction-selector.h |
@@ -129,6 +129,8 @@ class InstructionSelector FINAL { |
int GetVirtualRegister(const Node* node); |
const std::map<NodeId, int> GetVirtualRegistersForTesting() const; |
+ Isolate* isolate() const { return sequence()->isolate(); } |
+ |
private: |
friend class OperandGenerator; |