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

Side by Side Diff: src/assembler.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 | « 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 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after
1301 return ExternalReference( 1301 return ExternalReference(
1302 reinterpret_cast<void*>(&double_constants.the_hole_nan)); 1302 reinterpret_cast<void*>(&double_constants.the_hole_nan));
1303 } 1303 }
1304 1304
1305 1305
1306 #ifndef V8_INTERPRETED_REGEXP 1306 #ifndef V8_INTERPRETED_REGEXP
1307 1307
1308 ExternalReference ExternalReference::re_check_stack_guard_state( 1308 ExternalReference ExternalReference::re_check_stack_guard_state(
1309 Isolate* isolate) { 1309 Isolate* isolate) {
1310 Address function; 1310 Address function;
1311 #ifdef V8_TARGET_ARCH_X64 1311 #if V8_TARGET_ARCH_X64
1312 function = FUNCTION_ADDR(RegExpMacroAssemblerX64::CheckStackGuardState); 1312 function = FUNCTION_ADDR(RegExpMacroAssemblerX64::CheckStackGuardState);
1313 #elif V8_TARGET_ARCH_IA32 1313 #elif V8_TARGET_ARCH_IA32
1314 function = FUNCTION_ADDR(RegExpMacroAssemblerIA32::CheckStackGuardState); 1314 function = FUNCTION_ADDR(RegExpMacroAssemblerIA32::CheckStackGuardState);
1315 #elif V8_TARGET_ARCH_ARM 1315 #elif V8_TARGET_ARCH_ARM
1316 function = FUNCTION_ADDR(RegExpMacroAssemblerARM::CheckStackGuardState); 1316 function = FUNCTION_ADDR(RegExpMacroAssemblerARM::CheckStackGuardState);
1317 #elif V8_TARGET_ARCH_MIPS 1317 #elif V8_TARGET_ARCH_MIPS
1318 function = FUNCTION_ADDR(RegExpMacroAssemblerMIPS::CheckStackGuardState); 1318 function = FUNCTION_ADDR(RegExpMacroAssemblerMIPS::CheckStackGuardState);
1319 #else 1319 #else
1320 UNREACHABLE(); 1320 UNREACHABLE();
1321 #endif 1321 #endif
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
1662 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1662 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1663 state_.written_position = state_.current_position; 1663 state_.written_position = state_.current_position;
1664 written = true; 1664 written = true;
1665 } 1665 }
1666 1666
1667 // Return whether something was written. 1667 // Return whether something was written.
1668 return written; 1668 return written;
1669 } 1669 }
1670 1670
1671 } } // namespace v8::internal 1671 } } // 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