Index: test/mjsunit/dictionary-properties.js |
diff --git a/test/mjsunit/dictionary-properties.js b/test/mjsunit/dictionary-properties.js |
index c70c598ac8cb617f7b0911a5964c1185c4f1b881..9563f3a178fb78b5ea67cdf6a77c56d441f7176b 100644 |
--- a/test/mjsunit/dictionary-properties.js |
+++ b/test/mjsunit/dictionary-properties.js |
@@ -40,7 +40,8 @@ SlowPrototype.prototype.bar = 2; |
SlowPrototype.prototype.baz = 3; |
delete SlowPrototype.prototype.baz; |
-assertFalse(%HasFastProperties(SlowPrototype.prototype)); |
+// Prototypes stay fast even after deleting properties. |
+assertTrue(%HasFastProperties(SlowPrototype.prototype)); |
var fast_proto = new SlowPrototype(); |
assertTrue(%HasFastProperties(SlowPrototype.prototype)); |
assertTrue(%HasFastProperties(fast_proto.__proto__)); |