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

Side by Side Diff: src/ia32/code-stubs-ia32.cc

Issue 7790022: Fixing compile error introducted by a typo in r9064. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 3 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 5686 matching lines...) Expand 10 before | Expand all | Expand 10 after
5697 __ ret(3 * kPointerSize); 5697 __ ret(3 * kPointerSize);
5698 5698
5699 __ bind(&make_two_character_string); 5699 __ bind(&make_two_character_string);
5700 // Setup registers for allocating the two character string. 5700 // Setup registers for allocating the two character string.
5701 __ mov(eax, Operand(esp, 3 * kPointerSize)); 5701 __ mov(eax, Operand(esp, 3 * kPointerSize));
5702 __ mov(ebx, FieldOperand(eax, HeapObject::kMapOffset)); 5702 __ mov(ebx, FieldOperand(eax, HeapObject::kMapOffset));
5703 __ movzx_b(ebx, FieldOperand(ebx, Map::kInstanceTypeOffset)); 5703 __ movzx_b(ebx, FieldOperand(ebx, Map::kInstanceTypeOffset));
5704 __ Set(ecx, Immediate(2)); 5704 __ Set(ecx, Immediate(2));
5705 5705
5706 if (FLAG_string_slices) { 5706 if (FLAG_string_slices) {
5707 Label copy_rountine; 5707 Label copy_routine;
5708 // If coming from the make_two_character_string path, the string 5708 // If coming from the make_two_character_string path, the string
5709 // is too short to be sliced anyways. 5709 // is too short to be sliced anyways.
5710 STATIC_ASSERT(2 < SlicedString::kMinLength); 5710 STATIC_ASSERT(2 < SlicedString::kMinLength);
5711 __ jmp(&copy_routine); 5711 __ jmp(&copy_routine);
5712 __ bind(&result_longer_than_two); 5712 __ bind(&result_longer_than_two);
5713 5713
5714 // eax: string 5714 // eax: string
5715 // ebx: instance type 5715 // ebx: instance type
5716 // ecx: sub string length 5716 // ecx: sub string length
5717 // edx: from index (smi) 5717 // edx: from index (smi)
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
6487 __ Drop(1); 6487 __ Drop(1);
6488 __ ret(2 * kPointerSize); 6488 __ ret(2 * kPointerSize);
6489 } 6489 }
6490 6490
6491 6491
6492 #undef __ 6492 #undef __
6493 6493
6494 } } // namespace v8::internal 6494 } } // namespace v8::internal
6495 6495
6496 #endif // V8_TARGET_ARCH_IA32 6496 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698