Reviewers: dcarney, Michael Starzinger,
Message:
Committed patchset #1 manually as r21844 (presubmit successful).
Description:
Fix windows build (size_t vs. int).
Sadly, Vector ctor takes an argument "int length".
[email protected], [email protected]
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=21844
Please review this at https://codereview.chromium.org/334903002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+4, -4 lines):
M src/ast-value-factory.h
Index: src/ast-value-factory.h
diff --git a/src/ast-value-factory.h b/src/ast-value-factory.h
index
8b3a7c3f18be8a69bdae63aebf44329b7c55d001..59efa58c51012a05552b0ab829997aad268cf661
100644
--- a/src/ast-value-factory.h
+++ b/src/ast-value-factory.h
@@ -233,11 +233,11 @@ class AstValueFactory {
string_table_(AstString::Compare),
zone_(zone),
isolate_(NULL) {
-#define F(name, str) { \
- const char* data = str; \
- name##_string_ = GetOneByteString( \
+#define F(name, str) { \
+ const char* data = str; \
+ name##_string_ = GetOneByteString( \
Vector<const uint8_t>(reinterpret_cast<const uint8_t*>(data), \
- strlen(data))); \
+ static_cast<int>(strlen(data)))); \
}
STRING_CONSTANTS(F)
#undef F
--
--
v8-dev mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.