Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Side by Side Diff: src/runtime/runtime-regexp.cc

Issue 1318863004: [presubmit] Fix build/include linter violations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ppc/macro-assembler-ppc.cc ('k') | src/unicode.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/runtime/runtime-utils.h" 5 #include "src/runtime/runtime-utils.h"
6 6
7 #include "src/arguments.h" 7 #include "src/arguments.h"
8 #include "src/conversions-inl.h" 8 #include "src/conversions-inl.h"
9 #include "src/isolate-inl.h" 9 #include "src/isolate-inl.h"
10 #include "src/messages.h" 10 #include "src/messages.h"
11 #include "src/regexp/jsregexp-inl.h" 11 #include "src/regexp/jsregexp-inl.h"
12 #include "src/regexp/jsregexp.h" 12 #include "src/regexp/jsregexp.h"
13 #include "src/runtime/runtime-utils.h"
14 #include "src/string-builder.h" 13 #include "src/string-builder.h"
15 #include "src/string-search.h" 14 #include "src/string-search.h"
16 15
17 namespace v8 { 16 namespace v8 {
18 namespace internal { 17 namespace internal {
19 18
20 class CompiledReplacement { 19 class CompiledReplacement {
21 public: 20 public:
22 explicit CompiledReplacement(Zone* zone) 21 explicit CompiledReplacement(Zone* zone)
23 : parts_(1, zone), replacement_substrings_(0, zone), zone_(zone) {} 22 : parts_(1, zone), replacement_substrings_(0, zone), zone_(zone) {}
(...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after
1180 1179
1181 1180
1182 RUNTIME_FUNCTION(Runtime_IsRegExp) { 1181 RUNTIME_FUNCTION(Runtime_IsRegExp) {
1183 SealHandleScope shs(isolate); 1182 SealHandleScope shs(isolate);
1184 DCHECK(args.length() == 1); 1183 DCHECK(args.length() == 1);
1185 CONVERT_ARG_CHECKED(Object, obj, 0); 1184 CONVERT_ARG_CHECKED(Object, obj, 0);
1186 return isolate->heap()->ToBoolean(obj->IsJSRegExp()); 1185 return isolate->heap()->ToBoolean(obj->IsJSRegExp());
1187 } 1186 }
1188 } // namespace internal 1187 } // namespace internal
1189 } // namespace v8 1188 } // namespace v8
OLDNEW
« no previous file with comments | « src/ppc/macro-assembler-ppc.cc ('k') | src/unicode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698