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

Side by Side Diff: test/cctest/test-regexp.cc

Issue 885813002: Minor refactoring for Zone class and friends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/zone-inl.h ('k') | tools/gyp/v8.gyp » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 20 matching lines...) Expand all
31 #include "src/v8.h" 31 #include "src/v8.h"
32 32
33 #include "src/ast.h" 33 #include "src/ast.h"
34 #include "src/char-predicates-inl.h" 34 #include "src/char-predicates-inl.h"
35 #include "src/jsregexp.h" 35 #include "src/jsregexp.h"
36 #include "src/ostreams.h" 36 #include "src/ostreams.h"
37 #include "src/parser.h" 37 #include "src/parser.h"
38 #include "src/regexp-macro-assembler.h" 38 #include "src/regexp-macro-assembler.h"
39 #include "src/regexp-macro-assembler-irregexp.h" 39 #include "src/regexp-macro-assembler-irregexp.h"
40 #include "src/string-stream.h" 40 #include "src/string-stream.h"
41 #include "src/zone-inl.h"
42 #ifdef V8_INTERPRETED_REGEXP 41 #ifdef V8_INTERPRETED_REGEXP
43 #include "src/interpreter-irregexp.h" 42 #include "src/interpreter-irregexp.h"
44 #else // V8_INTERPRETED_REGEXP 43 #else // V8_INTERPRETED_REGEXP
45 #include "src/macro-assembler.h" 44 #include "src/macro-assembler.h"
46 #if V8_TARGET_ARCH_ARM 45 #if V8_TARGET_ARCH_ARM
47 #include "src/arm/assembler-arm.h" // NOLINT 46 #include "src/arm/assembler-arm.h" // NOLINT
48 #include "src/arm/macro-assembler-arm.h" 47 #include "src/arm/macro-assembler-arm.h"
49 #include "src/arm/regexp-macro-assembler-arm.h" 48 #include "src/arm/regexp-macro-assembler-arm.h"
50 #endif 49 #endif
51 #if V8_TARGET_ARCH_ARM64 50 #if V8_TARGET_ARCH_ARM64
(...skipping 1757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1809 1808
1810 ZoneList<CharacterRange> first_only(4, &zone); 1809 ZoneList<CharacterRange> first_only(4, &zone);
1811 ZoneList<CharacterRange> second_only(4, &zone); 1810 ZoneList<CharacterRange> second_only(4, &zone);
1812 ZoneList<CharacterRange> both(4, &zone); 1811 ZoneList<CharacterRange> both(4, &zone);
1813 } 1812 }
1814 1813
1815 1814
1816 TEST(Graph) { 1815 TEST(Graph) {
1817 Execute("\\b\\w+\\b", false, true, true); 1816 Execute("\\b\\w+\\b", false, true, true);
1818 } 1817 }
OLDNEW
« no previous file with comments | « src/zone-inl.h ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698