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

Side by Side Diff: src/mips/lithium-codegen-mips.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/mips/assembler-mips.h ('k') | src/objects.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 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 2391 matching lines...) Expand 10 before | Expand all | Expand 10 after
2402 Register object = ToRegister(instr->value()); 2402 Register object = ToRegister(instr->value());
2403 Register temp = ToRegister(instr->temp()); 2403 Register temp = ToRegister(instr->temp());
2404 Register result = ToRegister(instr->result()); 2404 Register result = ToRegister(instr->result());
2405 2405
2406 ASSERT(object.is(a0)); 2406 ASSERT(object.is(a0));
2407 ASSERT(result.is(v0)); 2407 ASSERT(result.is(v0));
2408 2408
2409 // A Smi is not instance of anything. 2409 // A Smi is not instance of anything.
2410 __ JumpIfSmi(object, &false_result); 2410 __ JumpIfSmi(object, &false_result);
2411 2411
2412 // This is the inlined call site instanceof cache. The two occurences of the 2412 // This is the inlined call site instanceof cache. The two occurrences of the
2413 // hole value will be patched to the last map/result pair generated by the 2413 // hole value will be patched to the last map/result pair generated by the
2414 // instanceof stub. 2414 // instanceof stub.
2415 Label cache_miss; 2415 Label cache_miss;
2416 Register map = temp; 2416 Register map = temp;
2417 __ lw(map, FieldMemOperand(object, HeapObject::kMapOffset)); 2417 __ lw(map, FieldMemOperand(object, HeapObject::kMapOffset));
2418 2418
2419 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm_); 2419 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm_);
2420 __ bind(deferred->map_check()); // Label for calculating code patching. 2420 __ bind(deferred->map_check()); // Label for calculating code patching.
2421 // We use Factory::the_hole_value() on purpose instead of loading from the 2421 // We use Factory::the_hole_value() on purpose instead of loading from the
2422 // root array to force relocation to be able to later patch with 2422 // root array to force relocation to be able to later patch with
(...skipping 3362 matching lines...) Expand 10 before | Expand all | Expand 10 after
5785 __ Subu(scratch, result, scratch); 5785 __ Subu(scratch, result, scratch);
5786 __ lw(result, FieldMemOperand(scratch, 5786 __ lw(result, FieldMemOperand(scratch,
5787 FixedArray::kHeaderSize - kPointerSize)); 5787 FixedArray::kHeaderSize - kPointerSize));
5788 __ bind(&done); 5788 __ bind(&done);
5789 } 5789 }
5790 5790
5791 5791
5792 #undef __ 5792 #undef __
5793 5793
5794 } } // namespace v8::internal 5794 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698