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

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

Issue 18014003: Add X32 port into V8 (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
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 #if 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 #if 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 #if V8_TARGET_ARCH_X32
63 #include "x32/assembler-x32.h"
64 #include "x32/macro-assembler-x32.h"
65 #include "x32/regexp-macro-assembler-x32.h"
66 #endif
62 #if V8_TARGET_ARCH_IA32 67 #if V8_TARGET_ARCH_IA32
63 #include "ia32/assembler-ia32.h" 68 #include "ia32/assembler-ia32.h"
64 #include "ia32/macro-assembler-ia32.h" 69 #include "ia32/macro-assembler-ia32.h"
65 #include "ia32/regexp-macro-assembler-ia32.h" 70 #include "ia32/regexp-macro-assembler-ia32.h"
66 #endif 71 #endif
67 #endif // V8_INTERPRETED_REGEXP 72 #endif // V8_INTERPRETED_REGEXP
68 73
69 using namespace v8::internal; 74 using namespace v8::internal;
70 75
71 76
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 695
691 // Tests of interpreter. 696 // Tests of interpreter.
692 697
693 698
694 #ifndef V8_INTERPRETED_REGEXP 699 #ifndef V8_INTERPRETED_REGEXP
695 700
696 #if V8_TARGET_ARCH_IA32 701 #if V8_TARGET_ARCH_IA32
697 typedef RegExpMacroAssemblerIA32 ArchRegExpMacroAssembler; 702 typedef RegExpMacroAssemblerIA32 ArchRegExpMacroAssembler;
698 #elif V8_TARGET_ARCH_X64 703 #elif V8_TARGET_ARCH_X64
699 typedef RegExpMacroAssemblerX64 ArchRegExpMacroAssembler; 704 typedef RegExpMacroAssemblerX64 ArchRegExpMacroAssembler;
705 #elif V8_TARGET_ARCH_X32
706 typedef RegExpMacroAssemblerX32 ArchRegExpMacroAssembler;
700 #elif V8_TARGET_ARCH_ARM 707 #elif V8_TARGET_ARCH_ARM
701 typedef RegExpMacroAssemblerARM ArchRegExpMacroAssembler; 708 typedef RegExpMacroAssemblerARM ArchRegExpMacroAssembler;
702 #elif V8_TARGET_ARCH_MIPS 709 #elif V8_TARGET_ARCH_MIPS
703 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler; 710 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler;
704 #endif 711 #endif
705 712
706 class ContextInitializer { 713 class ContextInitializer {
707 public: 714 public:
708 ContextInitializer() 715 ContextInitializer()
709 : scope_(v8::Isolate::GetCurrent()), 716 : scope_(v8::Isolate::GetCurrent()),
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after
1806 ZoneList<CharacterRange> first_only(4, &zone); 1813 ZoneList<CharacterRange> first_only(4, &zone);
1807 ZoneList<CharacterRange> second_only(4, &zone); 1814 ZoneList<CharacterRange> second_only(4, &zone);
1808 ZoneList<CharacterRange> both(4, &zone); 1815 ZoneList<CharacterRange> both(4, &zone);
1809 } 1816 }
1810 1817
1811 1818
1812 TEST(Graph) { 1819 TEST(Graph) {
1813 V8::Initialize(NULL); 1820 V8::Initialize(NULL);
1814 Execute("\\b\\w+\\b", false, true, true); 1821 Execute("\\b\\w+\\b", false, true, true);
1815 } 1822 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698