| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/arguments.h" | 7 #include "src/arguments.h" |
| 8 #include "src/jsregexp-inl.h" | 8 #include "src/jsregexp-inl.h" |
| 9 #include "src/jsregexp.h" | 9 #include "src/jsregexp.h" |
| 10 #include "src/runtime/runtime-utils.h" | 10 #include "src/runtime/runtime-utils.h" |
| 11 #include "src/runtime/string-builder.h" | 11 #include "src/string-builder.h" |
| 12 #include "src/string-search.h" | 12 #include "src/string-search.h" |
| 13 | 13 |
| 14 namespace v8 { | 14 namespace v8 { |
| 15 namespace internal { | 15 namespace internal { |
| 16 | 16 |
| 17 | 17 |
| 18 // Perform string match of pattern on subject, starting at start index. | 18 // Perform string match of pattern on subject, starting at start index. |
| 19 // Caller must ensure that 0 <= start_index <= sub->length(), | 19 // Caller must ensure that 0 <= start_index <= sub->length(), |
| 20 // and should check that pat->length() + start_index <= sub->length(). | 20 // and should check that pat->length() + start_index <= sub->length(). |
| 21 int StringMatch(Isolate* isolate, Handle<String> sub, Handle<String> pat, | 21 int StringMatch(Isolate* isolate, Handle<String> sub, Handle<String> pat, |
| (...skipping 1274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1296 return __RT_impl_Runtime_StringAdd(args, isolate); | 1296 return __RT_impl_Runtime_StringAdd(args, isolate); |
| 1297 } | 1297 } |
| 1298 | 1298 |
| 1299 | 1299 |
| 1300 RUNTIME_FUNCTION(RuntimeReference_IsStringWrapperSafeForDefaultValueOf) { | 1300 RUNTIME_FUNCTION(RuntimeReference_IsStringWrapperSafeForDefaultValueOf) { |
| 1301 UNIMPLEMENTED(); | 1301 UNIMPLEMENTED(); |
| 1302 return NULL; | 1302 return NULL; |
| 1303 } | 1303 } |
| 1304 } | 1304 } |
| 1305 } // namespace v8::internal | 1305 } // namespace v8::internal |
| OLD | NEW |