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

Side by Side Diff: src/x64/macro-assembler-x64.cc

Issue 12398011: Also fix cast warnings on Win64 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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/x64/code-stubs-x64.cc ('k') | 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 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 3041 matching lines...) Expand 10 before | Expand all | Expand 10 after
3052 testb(instance_type, Immediate(kIsNotStringMask)); 3052 testb(instance_type, Immediate(kIsNotStringMask));
3053 return zero; 3053 return zero;
3054 } 3054 }
3055 3055
3056 3056
3057 Condition MacroAssembler::IsObjectNameType(Register heap_object, 3057 Condition MacroAssembler::IsObjectNameType(Register heap_object,
3058 Register map, 3058 Register map,
3059 Register instance_type) { 3059 Register instance_type) {
3060 movq(map, FieldOperand(heap_object, HeapObject::kMapOffset)); 3060 movq(map, FieldOperand(heap_object, HeapObject::kMapOffset));
3061 movzxbl(instance_type, FieldOperand(map, Map::kInstanceTypeOffset)); 3061 movzxbl(instance_type, FieldOperand(map, Map::kInstanceTypeOffset));
3062 cmpb(instance_type, Immediate(static_cast<int8_t>(LAST_NAME_TYPE))); 3062 cmpb(instance_type, Immediate(static_cast<uint8_t>(LAST_NAME_TYPE)));
3063 return below_equal; 3063 return below_equal;
3064 } 3064 }
3065 3065
3066 3066
3067 void MacroAssembler::TryGetFunctionPrototype(Register function, 3067 void MacroAssembler::TryGetFunctionPrototype(Register function,
3068 Register result, 3068 Register result,
3069 Label* miss, 3069 Label* miss,
3070 bool miss_on_bound_function) { 3070 bool miss_on_bound_function) {
3071 // Check that the receiver isn't a smi. 3071 // Check that the receiver isn't a smi.
3072 testl(function, Immediate(kSmiTagMask)); 3072 testl(function, Immediate(kSmiTagMask));
(...skipping 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after
4651 j(greater, &no_info_available); 4651 j(greater, &no_info_available);
4652 CompareRoot(MemOperand(scratch_reg, -AllocationSiteInfo::kSize), 4652 CompareRoot(MemOperand(scratch_reg, -AllocationSiteInfo::kSize),
4653 Heap::kAllocationSiteInfoMapRootIndex); 4653 Heap::kAllocationSiteInfoMapRootIndex);
4654 bind(&no_info_available); 4654 bind(&no_info_available);
4655 } 4655 }
4656 4656
4657 4657
4658 } } // namespace v8::internal 4658 } } // namespace v8::internal
4659 4659
4660 #endif // V8_TARGET_ARCH_X64 4660 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698