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

Side by Side Diff: src/assembler.cc

Issue 6759025: Version 3.2.6 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 9 years, 8 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 | « src/arm/stub-cache-arm.cc ('k') | src/atomicops.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "regexp-macro-assembler.h" 48 #include "regexp-macro-assembler.h"
49 #include "platform.h" 49 #include "platform.h"
50 // Include native regexp-macro-assembler. 50 // Include native regexp-macro-assembler.
51 #ifndef V8_INTERPRETED_REGEXP 51 #ifndef V8_INTERPRETED_REGEXP
52 #if V8_TARGET_ARCH_IA32 52 #if V8_TARGET_ARCH_IA32
53 #include "ia32/regexp-macro-assembler-ia32.h" 53 #include "ia32/regexp-macro-assembler-ia32.h"
54 #elif V8_TARGET_ARCH_X64 54 #elif V8_TARGET_ARCH_X64
55 #include "x64/regexp-macro-assembler-x64.h" 55 #include "x64/regexp-macro-assembler-x64.h"
56 #elif V8_TARGET_ARCH_ARM 56 #elif V8_TARGET_ARCH_ARM
57 #include "arm/regexp-macro-assembler-arm.h" 57 #include "arm/regexp-macro-assembler-arm.h"
58 #elif V8_TARGET_ARCH_MIPS
59 #include "mips/regexp-macro-assembler-mips.h"
58 #else // Unknown architecture. 60 #else // Unknown architecture.
59 #error "Unknown architecture." 61 #error "Unknown architecture."
60 #endif // Target architecture. 62 #endif // Target architecture.
61 #endif // V8_INTERPRETED_REGEXP 63 #endif // V8_INTERPRETED_REGEXP
62 64
63 namespace v8 { 65 namespace v8 {
64 namespace internal { 66 namespace internal {
65 67
66 68
67 const double DoubleConstant::min_int = kMinInt; 69 const double DoubleConstant::min_int = kMinInt;
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 790
789 ExternalReference ExternalReference::re_check_stack_guard_state( 791 ExternalReference ExternalReference::re_check_stack_guard_state(
790 Isolate* isolate) { 792 Isolate* isolate) {
791 Address function; 793 Address function;
792 #ifdef V8_TARGET_ARCH_X64 794 #ifdef V8_TARGET_ARCH_X64
793 function = FUNCTION_ADDR(RegExpMacroAssemblerX64::CheckStackGuardState); 795 function = FUNCTION_ADDR(RegExpMacroAssemblerX64::CheckStackGuardState);
794 #elif V8_TARGET_ARCH_IA32 796 #elif V8_TARGET_ARCH_IA32
795 function = FUNCTION_ADDR(RegExpMacroAssemblerIA32::CheckStackGuardState); 797 function = FUNCTION_ADDR(RegExpMacroAssemblerIA32::CheckStackGuardState);
796 #elif V8_TARGET_ARCH_ARM 798 #elif V8_TARGET_ARCH_ARM
797 function = FUNCTION_ADDR(RegExpMacroAssemblerARM::CheckStackGuardState); 799 function = FUNCTION_ADDR(RegExpMacroAssemblerARM::CheckStackGuardState);
800 #elif V8_TARGET_ARCH_MIPS
801 function = FUNCTION_ADDR(RegExpMacroAssemblerMIPS::CheckStackGuardState);
798 #else 802 #else
799 UNREACHABLE(); 803 UNREACHABLE();
800 #endif 804 #endif
801 return ExternalReference(Redirect(isolate, function)); 805 return ExternalReference(Redirect(isolate, function));
802 } 806 }
803 807
804 ExternalReference ExternalReference::re_grow_stack(Isolate* isolate) { 808 ExternalReference ExternalReference::re_grow_stack(Isolate* isolate) {
805 return ExternalReference( 809 return ExternalReference(
806 Redirect(isolate, FUNCTION_ADDR(NativeRegExpMacroAssembler::GrowStack))); 810 Redirect(isolate, FUNCTION_ADDR(NativeRegExpMacroAssembler::GrowStack)));
807 } 811 }
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1058 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1055 state_.written_position = state_.current_position; 1059 state_.written_position = state_.current_position;
1056 written = true; 1060 written = true;
1057 } 1061 }
1058 1062
1059 // Return whether something was written. 1063 // Return whether something was written.
1060 return written; 1064 return written;
1061 } 1065 }
1062 1066
1063 } } // namespace v8::internal 1067 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/atomicops.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698