| 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" | |
| 9 #include "src/jsregexp.h" | |
| 10 #include "src/messages.h" | 8 #include "src/messages.h" |
| 9 #include "src/regexp/jsregexp-inl.h" |
| 10 #include "src/regexp/jsregexp.h" |
| 11 #include "src/runtime/runtime-utils.h" | 11 #include "src/runtime/runtime-utils.h" |
| 12 #include "src/string-builder.h" | 12 #include "src/string-builder.h" |
| 13 #include "src/string-search.h" | 13 #include "src/string-search.h" |
| 14 | 14 |
| 15 namespace v8 { | 15 namespace v8 { |
| 16 namespace internal { | 16 namespace internal { |
| 17 | 17 |
| 18 class CompiledReplacement { | 18 class CompiledReplacement { |
| 19 public: | 19 public: |
| 20 explicit CompiledReplacement(Zone* zone) | 20 explicit CompiledReplacement(Zone* zone) |
| (...skipping 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1178 | 1178 |
| 1179 | 1179 |
| 1180 RUNTIME_FUNCTION(Runtime_IsRegExp) { | 1180 RUNTIME_FUNCTION(Runtime_IsRegExp) { |
| 1181 SealHandleScope shs(isolate); | 1181 SealHandleScope shs(isolate); |
| 1182 DCHECK(args.length() == 1); | 1182 DCHECK(args.length() == 1); |
| 1183 CONVERT_ARG_CHECKED(Object, obj, 0); | 1183 CONVERT_ARG_CHECKED(Object, obj, 0); |
| 1184 return isolate->heap()->ToBoolean(obj->IsJSRegExp()); | 1184 return isolate->heap()->ToBoolean(obj->IsJSRegExp()); |
| 1185 } | 1185 } |
| 1186 } // namespace internal | 1186 } // namespace internal |
| 1187 } // namespace v8 | 1187 } // namespace v8 |
| OLD | NEW |