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

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

Issue 7218068: Fix ARM regression introduced with polymorphic array support. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 5 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 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after
1712 ASSERT(!obj.is(ip)); 1712 ASSERT(!obj.is(ip));
1713 LoadRoot(ip, index); 1713 LoadRoot(ip, index);
1714 cmp(obj, ip); 1714 cmp(obj, ip);
1715 } 1715 }
1716 1716
1717 1717
1718 void MacroAssembler::CheckFastElements(Register map, 1718 void MacroAssembler::CheckFastElements(Register map,
1719 Register scratch, 1719 Register scratch,
1720 Label* fail) { 1720 Label* fail) {
1721 STATIC_ASSERT(JSObject::FAST_ELEMENTS == 0); 1721 STATIC_ASSERT(JSObject::FAST_ELEMENTS == 0);
1722 ldrb(scratch, FieldMemOperand(map, Map::kInstanceTypeOffset)); 1722 ldrb(scratch, FieldMemOperand(map, Map::kBitField2Offset));
1723 cmp(scratch, Operand(Map::kMaximumBitField2FastElementValue)); 1723 cmp(scratch, Operand(Map::kMaximumBitField2FastElementValue));
1724 b(hi, fail); 1724 b(hi, fail);
1725 } 1725 }
1726 1726
1727 1727
1728 void MacroAssembler::CheckMap(Register obj, 1728 void MacroAssembler::CheckMap(Register obj,
1729 Register scratch, 1729 Register scratch,
1730 Handle<Map> map, 1730 Handle<Map> map,
1731 Label* fail, 1731 Label* fail,
1732 SmiCheckType smi_check_type) { 1732 SmiCheckType smi_check_type) {
(...skipping 1457 matching lines...) Expand 10 before | Expand all | Expand 10 after
3190 void CodePatcher::EmitCondition(Condition cond) { 3190 void CodePatcher::EmitCondition(Condition cond) {
3191 Instr instr = Assembler::instr_at(masm_.pc_); 3191 Instr instr = Assembler::instr_at(masm_.pc_);
3192 instr = (instr & ~kCondMask) | cond; 3192 instr = (instr & ~kCondMask) | cond;
3193 masm_.emit(instr); 3193 masm_.emit(instr);
3194 } 3194 }
3195 3195
3196 3196
3197 } } // namespace v8::internal 3197 } } // namespace v8::internal
3198 3198
3199 #endif // V8_TARGET_ARCH_ARM 3199 #endif // V8_TARGET_ARCH_ARM
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