Index: test/mjsunit/harmony/generators-objects.js |
diff --git a/test/mjsunit/harmony/generators-objects.js b/test/mjsunit/harmony/generators-objects.js |
index bb29bed008ff9a775a9d9a86e299f97581edbfe0..c1cda07db43ba9e883eca0aafaa143390ef346c8 100644 |
--- a/test/mjsunit/harmony/generators-objects.js |
+++ b/test/mjsunit/harmony/generators-objects.js |
@@ -55,7 +55,7 @@ function TestGeneratorObject() { |
var iter = g(); |
assertSame(g.prototype, Object.getPrototypeOf(iter)); |
assertTrue(iter instanceof g); |
- assertEquals("Generator", %ClassOf(iter)); |
+ assertEquals("Generator", %_ClassOf(iter)); |
assertEquals("[object Generator]", String(iter)); |
assertEquals([], Object.getOwnPropertyNames(iter)); |
assertTrue(iter !== g()); |
@@ -64,7 +64,7 @@ function TestGeneratorObject() { |
iter = new g(); |
assertSame(g.prototype, Object.getPrototypeOf(iter)); |
assertTrue(iter instanceof g); |
- assertEquals("Generator", %ClassOf(iter)); |
+ assertEquals("Generator", %_ClassOf(iter)); |
assertEquals("[object Generator]", String(iter)); |
assertEquals([], Object.getOwnPropertyNames(iter)); |
assertTrue(iter !== new g()); |