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

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

Issue 18037002: Clean up the usage of V8_TARGET_ARCH_${arch} and V8_HOST_ARCH_${arch} (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « test/cctest/test-macro-assembler-x64.cc ('k') | no next file » | 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 26 matching lines...) Expand all
37 #include "parser.h" 37 #include "parser.h"
38 #include "regexp-macro-assembler.h" 38 #include "regexp-macro-assembler.h"
39 #include "regexp-macro-assembler-irregexp.h" 39 #include "regexp-macro-assembler-irregexp.h"
40 #include "string-stream.h" 40 #include "string-stream.h"
41 #include "zone-inl.h" 41 #include "zone-inl.h"
42 #ifdef V8_INTERPRETED_REGEXP 42 #ifdef V8_INTERPRETED_REGEXP
43 #include "interpreter-irregexp.h" 43 #include "interpreter-irregexp.h"
44 #else // V8_INTERPRETED_REGEXP 44 #else // V8_INTERPRETED_REGEXP
45 #include "macro-assembler.h" 45 #include "macro-assembler.h"
46 #include "code.h" 46 #include "code.h"
47 #ifdef V8_TARGET_ARCH_ARM 47 #if V8_TARGET_ARCH_ARM
48 #include "arm/assembler-arm.h" 48 #include "arm/assembler-arm.h"
49 #include "arm/macro-assembler-arm.h" 49 #include "arm/macro-assembler-arm.h"
50 #include "arm/regexp-macro-assembler-arm.h" 50 #include "arm/regexp-macro-assembler-arm.h"
51 #endif 51 #endif
52 #ifdef V8_TARGET_ARCH_MIPS 52 #if V8_TARGET_ARCH_MIPS
53 #include "mips/assembler-mips.h" 53 #include "mips/assembler-mips.h"
54 #include "mips/macro-assembler-mips.h" 54 #include "mips/macro-assembler-mips.h"
55 #include "mips/regexp-macro-assembler-mips.h" 55 #include "mips/regexp-macro-assembler-mips.h"
56 #endif 56 #endif
57 #ifdef V8_TARGET_ARCH_X64 57 #if V8_TARGET_ARCH_X64
58 #include "x64/assembler-x64.h" 58 #include "x64/assembler-x64.h"
59 #include "x64/macro-assembler-x64.h" 59 #include "x64/macro-assembler-x64.h"
60 #include "x64/regexp-macro-assembler-x64.h" 60 #include "x64/regexp-macro-assembler-x64.h"
61 #endif 61 #endif
62 #ifdef V8_TARGET_ARCH_IA32 62 #if V8_TARGET_ARCH_IA32
63 #include "ia32/assembler-ia32.h" 63 #include "ia32/assembler-ia32.h"
64 #include "ia32/macro-assembler-ia32.h" 64 #include "ia32/macro-assembler-ia32.h"
65 #include "ia32/regexp-macro-assembler-ia32.h" 65 #include "ia32/regexp-macro-assembler-ia32.h"
66 #endif 66 #endif
67 #endif // V8_INTERPRETED_REGEXP 67 #endif // V8_INTERPRETED_REGEXP
68 68
69 using namespace v8::internal; 69 using namespace v8::internal;
70 70
71 71
72 static bool CheckParse(const char* input) { 72 static bool CheckParse(const char* input) {
(...skipping 1733 matching lines...) Expand 10 before | Expand all | Expand 10 after
1806 ZoneList<CharacterRange> first_only(4, &zone); 1806 ZoneList<CharacterRange> first_only(4, &zone);
1807 ZoneList<CharacterRange> second_only(4, &zone); 1807 ZoneList<CharacterRange> second_only(4, &zone);
1808 ZoneList<CharacterRange> both(4, &zone); 1808 ZoneList<CharacterRange> both(4, &zone);
1809 } 1809 }
1810 1810
1811 1811
1812 TEST(Graph) { 1812 TEST(Graph) {
1813 V8::Initialize(NULL); 1813 V8::Initialize(NULL);
1814 Execute("\\b\\w+\\b", false, true, true); 1814 Execute("\\b\\w+\\b", false, true, true);
1815 } 1815 }
OLDNEW
« no previous file with comments | « test/cctest/test-macro-assembler-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698