| 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/messages.h" | 10 #include "src/messages.h" |
| (...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1178 return isolate->ReThrow(exception); | 1178 return isolate->ReThrow(exception); |
| 1179 } | 1179 } |
| 1180 | 1180 |
| 1181 | 1181 |
| 1182 RUNTIME_FUNCTION(Runtime_IsRegExp) { | 1182 RUNTIME_FUNCTION(Runtime_IsRegExp) { |
| 1183 SealHandleScope shs(isolate); | 1183 SealHandleScope shs(isolate); |
| 1184 DCHECK(args.length() == 1); | 1184 DCHECK(args.length() == 1); |
| 1185 CONVERT_ARG_CHECKED(Object, obj, 0); | 1185 CONVERT_ARG_CHECKED(Object, obj, 0); |
| 1186 return isolate->heap()->ToBoolean(obj->IsJSRegExp()); | 1186 return isolate->heap()->ToBoolean(obj->IsJSRegExp()); |
| 1187 } | 1187 } |
| 1188 } | 1188 } // namespace internal |
| 1189 } // namespace v8::internal | 1189 } // namespace v8 |
| OLD | NEW |