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

Side by Side Diff: src/ia32/regexp-macro-assembler-ia32.cc

Issue 208073003: IA32: Rename MacroAssembler::Set() and MacroAssembler::SafeSet() to Move() and SafeMove(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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/ia32/macro-assembler-ia32.cc ('k') | src/ia32/stub-cache-ia32.cc » ('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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 // No custom implementation (yet): s(UC16), S(UC16). 625 // No custom implementation (yet): s(UC16), S(UC16).
626 default: 626 default:
627 return false; 627 return false;
628 } 628 }
629 } 629 }
630 630
631 631
632 void RegExpMacroAssemblerIA32::Fail() { 632 void RegExpMacroAssemblerIA32::Fail() {
633 STATIC_ASSERT(FAILURE == 0); // Return value for failure is zero. 633 STATIC_ASSERT(FAILURE == 0); // Return value for failure is zero.
634 if (!global()) { 634 if (!global()) {
635 __ Set(eax, Immediate(FAILURE)); 635 __ Move(eax, Immediate(FAILURE));
636 } 636 }
637 __ jmp(&exit_label_); 637 __ jmp(&exit_label_);
638 } 638 }
639 639
640 640
641 Handle<HeapObject> RegExpMacroAssemblerIA32::GetCode(Handle<String> source) { 641 Handle<HeapObject> RegExpMacroAssemblerIA32::GetCode(Handle<String> source) {
642 Label return_eax; 642 Label return_eax;
643 // Finalize code - write the entry point code now we know how many 643 // Finalize code - write the entry point code now we know how many
644 // registers we need. 644 // registers we need.
645 645
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 } 1322 }
1323 1323
1324 1324
1325 #undef __ 1325 #undef __
1326 1326
1327 #endif // V8_INTERPRETED_REGEXP 1327 #endif // V8_INTERPRETED_REGEXP
1328 1328
1329 }} // namespace v8::internal 1329 }} // namespace v8::internal
1330 1330
1331 #endif // V8_TARGET_ARCH_IA32 1331 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/ia32/stub-cache-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698