OLD | NEW |
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 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1151 __ jmp(&exit); | 1151 __ jmp(&exit); |
1152 | 1152 |
1153 // We got a fixed array in register r0. Iterate through that. | 1153 // We got a fixed array in register r0. Iterate through that. |
1154 Label non_proxy; | 1154 Label non_proxy; |
1155 __ bind(&fixed_array); | 1155 __ bind(&fixed_array); |
1156 | 1156 |
1157 Handle<Cell> cell = isolate()->factory()->NewCell( | 1157 Handle<Cell> cell = isolate()->factory()->NewCell( |
1158 Handle<Object>(Smi::FromInt(TypeFeedbackCells::kForInFastCaseMarker), | 1158 Handle<Object>(Smi::FromInt(TypeFeedbackCells::kForInFastCaseMarker), |
1159 isolate())); | 1159 isolate())); |
1160 RecordTypeFeedbackCell(stmt->ForInFeedbackId(), cell); | 1160 RecordTypeFeedbackCell(stmt->ForInFeedbackId(), cell); |
1161 __ LoadHeapObject(r1, cell); | 1161 __ Move(r1, cell); |
1162 __ mov(r2, Operand(Smi::FromInt(TypeFeedbackCells::kForInSlowCaseMarker))); | 1162 __ mov(r2, Operand(Smi::FromInt(TypeFeedbackCells::kForInSlowCaseMarker))); |
1163 __ str(r2, FieldMemOperand(r1, Cell::kValueOffset)); | 1163 __ str(r2, FieldMemOperand(r1, Cell::kValueOffset)); |
1164 | 1164 |
1165 __ mov(r1, Operand(Smi::FromInt(1))); // Smi indicates slow check | 1165 __ mov(r1, Operand(Smi::FromInt(1))); // Smi indicates slow check |
1166 __ ldr(r2, MemOperand(sp, 0 * kPointerSize)); // Get enumerated object | 1166 __ ldr(r2, MemOperand(sp, 0 * kPointerSize)); // Get enumerated object |
1167 STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_SPEC_OBJECT_TYPE); | 1167 STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_SPEC_OBJECT_TYPE); |
1168 __ CompareObjectType(r2, r3, r3, LAST_JS_PROXY_TYPE); | 1168 __ CompareObjectType(r2, r3, r3, LAST_JS_PROXY_TYPE); |
1169 __ b(gt, &non_proxy); | 1169 __ b(gt, &non_proxy); |
1170 __ mov(r1, Operand(Smi::FromInt(0))); // Zero indicates proxy | 1170 __ mov(r1, Operand(Smi::FromInt(0))); // Zero indicates proxy |
1171 __ bind(&non_proxy); | 1171 __ bind(&non_proxy); |
(...skipping 3790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4962 ASSERT(Memory::uint32_at(interrupt_address_pointer) == | 4962 ASSERT(Memory::uint32_at(interrupt_address_pointer) == |
4963 reinterpret_cast<uint32_t>( | 4963 reinterpret_cast<uint32_t>( |
4964 isolate->builtins()->OsrAfterStackCheck()->entry())); | 4964 isolate->builtins()->OsrAfterStackCheck()->entry())); |
4965 return OSR_AFTER_STACK_CHECK; | 4965 return OSR_AFTER_STACK_CHECK; |
4966 } | 4966 } |
4967 | 4967 |
4968 | 4968 |
4969 } } // namespace v8::internal | 4969 } } // namespace v8::internal |
4970 | 4970 |
4971 #endif // V8_TARGET_ARCH_ARM | 4971 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |