Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 5bb7f484b5a75a50eef40cfd3a4b0f2ffb6fccb1..f36282f827e47ad45f76de9c883f1bd5d67ab10a 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -1392,7 +1392,7 @@ class HCompareMap V8_FINAL : public HUnaryControlInstruction { |
virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
- Handle<Map> map() const { return map_; } |
+ Unique<Map> map() const { return map_; } |
virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { |
return Representation::Tagged(); |
@@ -1408,11 +1408,12 @@ class HCompareMap V8_FINAL : public HUnaryControlInstruction { |
Handle<Map> map, |
HBasicBlock* true_target = NULL, |
HBasicBlock* false_target = NULL) |
- : HUnaryControlInstruction(value, true_target, false_target), map_(map) { |
+ : HUnaryControlInstruction(value, true_target, false_target), |
+ map_(Unique<Map>(map)) { |
ASSERT(!map.is_null()); |
} |
- Handle<Map> map_; |
+ Unique<Map> map_; |
}; |