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

Side by Side Diff: src/x64/lithium-codegen-x64.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/third_party/vtune/jitprofiling.h ('k') | test/cctest/test-debug.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 2385 matching lines...) Expand 10 before | Expand all | Expand 10 after
2396 2396
2397 DeferredInstanceOfKnownGlobal* deferred; 2397 DeferredInstanceOfKnownGlobal* deferred;
2398 deferred = new(zone()) DeferredInstanceOfKnownGlobal(this, instr); 2398 deferred = new(zone()) DeferredInstanceOfKnownGlobal(this, instr);
2399 2399
2400 Label done, false_result; 2400 Label done, false_result;
2401 Register object = ToRegister(instr->value()); 2401 Register object = ToRegister(instr->value());
2402 2402
2403 // A Smi is not an instance of anything. 2403 // A Smi is not an instance of anything.
2404 __ JumpIfSmi(object, &false_result); 2404 __ JumpIfSmi(object, &false_result);
2405 2405
2406 // This is the inlined call site instanceof cache. The two occurences of the 2406 // This is the inlined call site instanceof cache. The two occurrences of the
2407 // hole value will be patched to the last map/result pair generated by the 2407 // hole value will be patched to the last map/result pair generated by the
2408 // instanceof stub. 2408 // instanceof stub.
2409 Label cache_miss; 2409 Label cache_miss;
2410 // Use a temp register to avoid memory operands with variable lengths. 2410 // Use a temp register to avoid memory operands with variable lengths.
2411 Register map = ToRegister(instr->temp()); 2411 Register map = ToRegister(instr->temp());
2412 __ movq(map, FieldOperand(object, HeapObject::kMapOffset)); 2412 __ movq(map, FieldOperand(object, HeapObject::kMapOffset));
2413 __ bind(deferred->map_check()); // Label for calculating code patching. 2413 __ bind(deferred->map_check()); // Label for calculating code patching.
2414 Handle<JSGlobalPropertyCell> cache_cell = 2414 Handle<JSGlobalPropertyCell> cache_cell =
2415 factory()->NewJSGlobalPropertyCell(factory()->the_hole_value()); 2415 factory()->NewJSGlobalPropertyCell(factory()->the_hole_value());
2416 __ movq(kScratchRegister, cache_cell, RelocInfo::GLOBAL_PROPERTY_CELL); 2416 __ movq(kScratchRegister, cache_cell, RelocInfo::GLOBAL_PROPERTY_CELL);
(...skipping 3313 matching lines...) Expand 10 before | Expand all | Expand 10 after
5730 FixedArray::kHeaderSize - kPointerSize)); 5730 FixedArray::kHeaderSize - kPointerSize));
5731 __ bind(&done); 5731 __ bind(&done);
5732 } 5732 }
5733 5733
5734 5734
5735 #undef __ 5735 #undef __
5736 5736
5737 } } // namespace v8::internal 5737 } } // namespace v8::internal
5738 5738
5739 #endif // V8_TARGET_ARCH_X64 5739 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/third_party/vtune/jitprofiling.h ('k') | test/cctest/test-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698