diff options
Diffstat (limited to 'deps/v8/src/dateparser-inl.h')
-rw-r--r-- | deps/v8/src/dateparser-inl.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/deps/v8/src/dateparser-inl.h b/deps/v8/src/dateparser-inl.h index ac28c62257..7f8fac83e6 100644 --- a/deps/v8/src/dateparser-inl.h +++ b/deps/v8/src/dateparser-inl.h @@ -1,4 +1,4 @@ -// Copyright 2008 the V8 project authors. All rights reserved. +// Copyright 2011 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: @@ -34,9 +34,11 @@ namespace v8 { namespace internal { template <typename Char> -bool DateParser::Parse(Vector<Char> str, FixedArray* out) { +bool DateParser::Parse(Vector<Char> str, + FixedArray* out, + UnicodeCache* unicode_cache) { ASSERT(out->length() >= OUTPUT_SIZE); - InputReader<Char> in(str); + InputReader<Char> in(unicode_cache, str); TimeZoneComposer tz; TimeComposer time; DayComposer day; |