Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 815a6c69f5d7ff66adb2384c66695f76d4bbef19..ea178dc61a345dff0e09a218b14cf86dc4e34572 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -5568,6 +5568,7 @@ class HLoadNamedField: public HTemplateInstruction<2> { |
} |
bool HasTypeCheck() const { return OperandAt(0) != OperandAt(1); } |
+ void clear_typecheck() { SetOperandAt(1, object()); } |
Michael Starzinger
2013/08/12 09:22:09
nit: Can we name this "ClearTypeCheck" instead?
|
HObjectAccess access() const { return access_; } |
Representation field_representation() const { |
return access_.representation(); |