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

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

Issue 18094: Fix a bunch of spelling mistakes :\ (Closed)
Patch Set: More fixes. Created 11 years, 11 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
« no previous file with comments | « src/property.h ('k') | src/rewriter.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 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 __ mov(eax, Immediate(SUCCESS)); 725 __ mov(eax, Immediate(SUCCESS));
726 } 726 }
727 // Exit and return eax 727 // Exit and return eax
728 __ bind(&exit_label_); 728 __ bind(&exit_label_);
729 // Skip esp past regexp registers. 729 // Skip esp past regexp registers.
730 __ lea(esp, Operand(ebp, kBackup_ebx)); 730 __ lea(esp, Operand(ebp, kBackup_ebx));
731 // Restore callee-save registers. 731 // Restore callee-save registers.
732 __ pop(ebx); 732 __ pop(ebx);
733 __ pop(edi); 733 __ pop(edi);
734 __ pop(esi); 734 __ pop(esi);
735 // Exit function frame, restore previus one. 735 // Exit function frame, restore previous one.
736 __ pop(ebp); 736 __ pop(ebp);
737 __ ret(0); 737 __ ret(0);
738 738
739 // Backtrack code (branch target for conditional backtracks). 739 // Backtrack code (branch target for conditional backtracks).
740 if (backtrack_label_.is_linked()) { 740 if (backtrack_label_.is_linked()) {
741 __ bind(&backtrack_label_); 741 __ bind(&backtrack_label_);
742 Backtrack(); 742 Backtrack();
743 } 743 }
744 744
745 Label exit_with_exception; 745 Label exit_with_exception;
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 1209
1210 1210
1211 void RegExpMacroAssemblerIA32::LoadConstantBufferAddress(Register reg, 1211 void RegExpMacroAssemblerIA32::LoadConstantBufferAddress(Register reg,
1212 ArraySlice* buffer) { 1212 ArraySlice* buffer) {
1213 __ mov(reg, buffer->array()); 1213 __ mov(reg, buffer->array());
1214 __ add(Operand(reg), Immediate(buffer->base_offset())); 1214 __ add(Operand(reg), Immediate(buffer->base_offset()));
1215 } 1215 }
1216 1216
1217 #undef __ 1217 #undef __
1218 }} // namespace v8::internal 1218 }} // namespace v8::internal
OLDNEW
« no previous file with comments | « src/property.h ('k') | src/rewriter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698