Reviewers: Dmitry Lomov (chromium),
Description:
Use the correct natives in messages.js
R=dslo...@chromium.org
Please review this at https://codereview.chromium.org/221903002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -2 lines):
M src/messages.js
Index: src/messages.js
diff --git a/src/messages.js b/src/messages.js
index
a389bb8fe5aff66b277b0fa8a792ddd66c49a754..fc043f20dfd84475409739023d62acb6a6eb7c5c
100644
--- a/src/messages.js
+++ b/src/messages.js
@@ -198,8 +198,8 @@ function FormatString(format, args) {
try {
str = NoSideEffectToString(args[arg_num]);
if (str.length > 256) {
- str = %SubString(str, 0, 239) + "...<omitted>..." +
- %SubString(str, str.length - 2, str.length);
+ str = %_SubString(str, 0, 239) + "...<omitted>..." +
+ %_SubString(str, str.length - 2, str.length);
}
} catch (e) {
if (%IsJSModule(args[arg_num]))
--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.