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

Side by Side Diff: src/arm/lithium-codegen-arm.cc

Issue 15012016: small misspelling fixes. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 7 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/accessors.cc ('k') | src/bignum-dtoa.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 2754 matching lines...) Expand 10 before | Expand all | Expand 10 after
2765 Register object = ToRegister(instr->value()); 2765 Register object = ToRegister(instr->value());
2766 Register temp = ToRegister(instr->temp()); 2766 Register temp = ToRegister(instr->temp());
2767 Register result = ToRegister(instr->result()); 2767 Register result = ToRegister(instr->result());
2768 2768
2769 ASSERT(object.is(r0)); 2769 ASSERT(object.is(r0));
2770 ASSERT(result.is(r0)); 2770 ASSERT(result.is(r0));
2771 2771
2772 // A Smi is not instance of anything. 2772 // A Smi is not instance of anything.
2773 __ JumpIfSmi(object, &false_result); 2773 __ JumpIfSmi(object, &false_result);
2774 2774
2775 // This is the inlined call site instanceof cache. The two occurences of the 2775 // This is the inlined call site instanceof cache. The two occurrences of the
2776 // hole value will be patched to the last map/result pair generated by the 2776 // hole value will be patched to the last map/result pair generated by the
2777 // instanceof stub. 2777 // instanceof stub.
2778 Label cache_miss; 2778 Label cache_miss;
2779 Register map = temp; 2779 Register map = temp;
2780 __ ldr(map, FieldMemOperand(object, HeapObject::kMapOffset)); 2780 __ ldr(map, FieldMemOperand(object, HeapObject::kMapOffset));
2781 { 2781 {
2782 // Block constant pool emission to ensure the positions of instructions are 2782 // Block constant pool emission to ensure the positions of instructions are
2783 // as expected by the patcher. See InstanceofStub::Generate(). 2783 // as expected by the patcher. See InstanceofStub::Generate().
2784 Assembler::BlockConstPoolScope block_const_pool(masm()); 2784 Assembler::BlockConstPoolScope block_const_pool(masm());
2785 __ bind(deferred->map_check()); // Label for calculating code patching. 2785 __ bind(deferred->map_check()); // Label for calculating code patching.
(...skipping 3255 matching lines...) Expand 10 before | Expand all | Expand 10 after
6041 __ sub(scratch, result, Operand(index, LSL, kPointerSizeLog2 - kSmiTagSize)); 6041 __ sub(scratch, result, Operand(index, LSL, kPointerSizeLog2 - kSmiTagSize));
6042 __ ldr(result, FieldMemOperand(scratch, 6042 __ ldr(result, FieldMemOperand(scratch,
6043 FixedArray::kHeaderSize - kPointerSize)); 6043 FixedArray::kHeaderSize - kPointerSize));
6044 __ bind(&done); 6044 __ bind(&done);
6045 } 6045 }
6046 6046
6047 6047
6048 #undef __ 6048 #undef __
6049 6049
6050 } } // namespace v8::internal 6050 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/accessors.cc ('k') | src/bignum-dtoa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698