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

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

Issue 148293020: Merge experimental/a64 to bleeding_edge. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove ARM from OWNERS Created 6 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 | Annotate | Revision Log
« no previous file with comments | « test/cctest/test-platform.cc ('k') | test/cctest/test-utils-a64.h » ('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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 #if 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 #if V8_TARGET_ARCH_A64
53 #include "a64/assembler-a64.h"
54 #include "a64/macro-assembler-a64.h"
55 #include "a64/regexp-macro-assembler-a64.h"
56 #endif
52 #if V8_TARGET_ARCH_MIPS 57 #if V8_TARGET_ARCH_MIPS
53 #include "mips/assembler-mips.h" 58 #include "mips/assembler-mips.h"
54 #include "mips/macro-assembler-mips.h" 59 #include "mips/macro-assembler-mips.h"
55 #include "mips/regexp-macro-assembler-mips.h" 60 #include "mips/regexp-macro-assembler-mips.h"
56 #endif 61 #endif
57 #if V8_TARGET_ARCH_X64 62 #if V8_TARGET_ARCH_X64
58 #include "x64/assembler-x64.h" 63 #include "x64/assembler-x64.h"
59 #include "x64/macro-assembler-x64.h" 64 #include "x64/macro-assembler-x64.h"
60 #include "x64/regexp-macro-assembler-x64.h" 65 #include "x64/regexp-macro-assembler-x64.h"
61 #endif 66 #endif
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 687
683 688
684 #ifndef V8_INTERPRETED_REGEXP 689 #ifndef V8_INTERPRETED_REGEXP
685 690
686 #if V8_TARGET_ARCH_IA32 691 #if V8_TARGET_ARCH_IA32
687 typedef RegExpMacroAssemblerIA32 ArchRegExpMacroAssembler; 692 typedef RegExpMacroAssemblerIA32 ArchRegExpMacroAssembler;
688 #elif V8_TARGET_ARCH_X64 693 #elif V8_TARGET_ARCH_X64
689 typedef RegExpMacroAssemblerX64 ArchRegExpMacroAssembler; 694 typedef RegExpMacroAssemblerX64 ArchRegExpMacroAssembler;
690 #elif V8_TARGET_ARCH_ARM 695 #elif V8_TARGET_ARCH_ARM
691 typedef RegExpMacroAssemblerARM ArchRegExpMacroAssembler; 696 typedef RegExpMacroAssemblerARM ArchRegExpMacroAssembler;
697 #elif V8_TARGET_ARCH_A64
698 typedef RegExpMacroAssemblerA64 ArchRegExpMacroAssembler;
692 #elif V8_TARGET_ARCH_MIPS 699 #elif V8_TARGET_ARCH_MIPS
693 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler; 700 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler;
694 #endif 701 #endif
695 702
696 class ContextInitializer { 703 class ContextInitializer {
697 public: 704 public:
698 ContextInitializer() 705 ContextInitializer()
699 : scope_(CcTest::isolate()), 706 : scope_(CcTest::isolate()),
700 env_(v8::Context::New(CcTest::isolate())) { 707 env_(v8::Context::New(CcTest::isolate())) {
701 env_->Enter(); 708 env_->Enter();
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
1796 ZoneList<CharacterRange> first_only(4, &zone); 1803 ZoneList<CharacterRange> first_only(4, &zone);
1797 ZoneList<CharacterRange> second_only(4, &zone); 1804 ZoneList<CharacterRange> second_only(4, &zone);
1798 ZoneList<CharacterRange> both(4, &zone); 1805 ZoneList<CharacterRange> both(4, &zone);
1799 } 1806 }
1800 1807
1801 1808
1802 TEST(Graph) { 1809 TEST(Graph) {
1803 V8::Initialize(NULL); 1810 V8::Initialize(NULL);
1804 Execute("\\b\\w+\\b", false, true, true); 1811 Execute("\\b\\w+\\b", false, true, true);
1805 } 1812 }
OLDNEW
« no previous file with comments | « test/cctest/test-platform.cc ('k') | test/cctest/test-utils-a64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698