Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: test/mjsunit/strong/literals.js

Issue 1270423003: [strong] dot prototypes of strong class literals should be strong objects (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime/runtime-classes.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/strong/literals.js
diff --git a/test/mjsunit/strong/literals.js b/test/mjsunit/strong/literals.js
index 73129e7a09072197df16ec1d88ac76ccfab1597d..8c04d6e35a7f7ed2fd48a30052d92b5e145cf96a 100644
--- a/test/mjsunit/strong/literals.js
+++ b/test/mjsunit/strong/literals.js
@@ -310,8 +310,8 @@ let GeneratorPrototype = (function*(){}).__proto__;
'use strong';
function assertStrongClass(x) {
assertTrue(%IsStrong(x));
- // TODO(rossberg): strongify class prototype and instance
- // assertTrue(%IsStrong(x.prototype));
+ assertTrue(%IsStrong(x.prototype));
+ // TODO(rossberg): strongify class instance
// assertTrue(%IsStrong(new x));
}
class C {};
« no previous file with comments | « src/runtime/runtime-classes.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698