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

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

Issue 72333004: Match max property descriptor length to corresponding bit fields (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 7 years, 1 month 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 | src/handles.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 3780 matching lines...) Expand 10 before | Expand all | Expand 10 after
3791 Register empty_fixed_array_value = r6; 3791 Register empty_fixed_array_value = r6;
3792 LoadRoot(empty_fixed_array_value, Heap::kEmptyFixedArrayRootIndex); 3792 LoadRoot(empty_fixed_array_value, Heap::kEmptyFixedArrayRootIndex);
3793 Label next, start; 3793 Label next, start;
3794 mov(r2, r0); 3794 mov(r2, r0);
3795 3795
3796 // Check if the enum length field is properly initialized, indicating that 3796 // Check if the enum length field is properly initialized, indicating that
3797 // there is an enum cache. 3797 // there is an enum cache.
3798 ldr(r1, FieldMemOperand(r2, HeapObject::kMapOffset)); 3798 ldr(r1, FieldMemOperand(r2, HeapObject::kMapOffset));
3799 3799
3800 EnumLength(r3, r1); 3800 EnumLength(r3, r1);
3801 cmp(r3, Operand(Smi::FromInt(Map::kInvalidEnumCache))); 3801 cmp(r3, Operand(Smi::FromInt(kInvalidEnumCacheSentinel)));
3802 b(eq, call_runtime); 3802 b(eq, call_runtime);
3803 3803
3804 jmp(&start); 3804 jmp(&start);
3805 3805
3806 bind(&next); 3806 bind(&next);
3807 ldr(r1, FieldMemOperand(r2, HeapObject::kMapOffset)); 3807 ldr(r1, FieldMemOperand(r2, HeapObject::kMapOffset));
3808 3808
3809 // For all objects but the receiver, check that the cache is empty. 3809 // For all objects but the receiver, check that the cache is empty.
3810 EnumLength(r3, r1); 3810 EnumLength(r3, r1);
3811 cmp(r3, Operand(Smi::FromInt(0))); 3811 cmp(r3, Operand(Smi::FromInt(0)));
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
3960 void CodePatcher::EmitCondition(Condition cond) { 3960 void CodePatcher::EmitCondition(Condition cond) {
3961 Instr instr = Assembler::instr_at(masm_.pc_); 3961 Instr instr = Assembler::instr_at(masm_.pc_);
3962 instr = (instr & ~kCondMask) | cond; 3962 instr = (instr & ~kCondMask) | cond;
3963 masm_.emit(instr); 3963 masm_.emit(instr);
3964 } 3964 }
3965 3965
3966 3966
3967 } } // namespace v8::internal 3967 } } // namespace v8::internal
3968 3968
3969 #endif // V8_TARGET_ARCH_ARM 3969 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698