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

Unified Diff: src/harmony-classes.js

Issue 770333005: Implement the `RegExp.prototype.flags` getter (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move to separate harmony-regexp.js file Created 6 years 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
Index: src/harmony-classes.js
diff --git a/src/harmony-classes.js b/src/harmony-classes.js
index b6605a902c3059bef54ad3b0956931fcaf19e1d3..651baa7ec0ba2a36535ce6acf016a0671839a91d 100644
--- a/src/harmony-classes.js
+++ b/src/harmony-classes.js
@@ -17,8 +17,9 @@
}
if (!IS_SPEC_OBJECT(homeObject)) {
- throw MakeTypeError('toMethod_non_object',
- [%ToString(homeObject)]);
+ throw MakeTypeError('home_object_non_object',
+ ['Function.prototype.toMethod',
Dmitry Lomov (no reviews) 2014/12/09 23:39:12 Looks like this is from some other patch?
+ %ToString(homeObject)]);
}
return %ToMethod(this, homeObject);
« no previous file with comments | « src/bootstrapper.cc ('k') | src/harmony-regexp.js » ('j') | src/harmony-regexp.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698