| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 static Register registers[] = { r0 }; | 186 static Register registers[] = { r0 }; |
| 187 descriptor->register_param_count_ = 1; | 187 descriptor->register_param_count_ = 1; |
| 188 descriptor->register_params_ = registers; | 188 descriptor->register_params_ = registers; |
| 189 descriptor->deoptimization_handler_ = | 189 descriptor->deoptimization_handler_ = |
| 190 FUNCTION_ADDR(CompareNilIC_Miss); | 190 FUNCTION_ADDR(CompareNilIC_Miss); |
| 191 descriptor->SetMissHandler( | 191 descriptor->SetMissHandler( |
| 192 ExternalReference(IC_Utility(IC::kCompareNilIC_Miss), isolate)); | 192 ExternalReference(IC_Utility(IC::kCompareNilIC_Miss), isolate)); |
| 193 } | 193 } |
| 194 | 194 |
| 195 | 195 |
| 196 void BinaryOpStub::InitializeInterfaceDescriptor( | 196 void BinaryOpICStub::InitializeInterfaceDescriptor( |
| 197 Isolate* isolate, | 197 Isolate* isolate, |
| 198 CodeStubInterfaceDescriptor* descriptor) { | 198 CodeStubInterfaceDescriptor* descriptor) { |
| 199 static Register registers[] = { r1, r0 }; | 199 static Register registers[] = { r1, r0 }; |
| 200 descriptor->register_param_count_ = 2; | 200 descriptor->register_param_count_ = 2; |
| 201 descriptor->register_params_ = registers; | 201 descriptor->register_params_ = registers; |
| 202 descriptor->deoptimization_handler_ = FUNCTION_ADDR(BinaryOpIC_Miss); | 202 descriptor->deoptimization_handler_ = FUNCTION_ADDR(BinaryOpIC_Miss); |
| 203 descriptor->SetMissHandler( | 203 descriptor->SetMissHandler( |
| 204 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate)); | 204 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate)); |
| 205 } | 205 } |
| 206 | 206 |
| (...skipping 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1659 } | 1659 } |
| 1660 | 1660 |
| 1661 | 1661 |
| 1662 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { | 1662 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { |
| 1663 CEntryStub::GenerateAheadOfTime(isolate); | 1663 CEntryStub::GenerateAheadOfTime(isolate); |
| 1664 WriteInt32ToHeapNumberStub::GenerateFixedRegStubsAheadOfTime(isolate); | 1664 WriteInt32ToHeapNumberStub::GenerateFixedRegStubsAheadOfTime(isolate); |
| 1665 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); | 1665 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); |
| 1666 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); | 1666 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); |
| 1667 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 1667 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
| 1668 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); | 1668 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); |
| 1669 BinaryOpStub::GenerateAheadOfTime(isolate); | 1669 BinaryOpICStub::GenerateAheadOfTime(isolate); |
| 1670 } | 1670 } |
| 1671 | 1671 |
| 1672 | 1672 |
| 1673 void CodeStub::GenerateFPStubs(Isolate* isolate) { | 1673 void CodeStub::GenerateFPStubs(Isolate* isolate) { |
| 1674 SaveFPRegsMode mode = kSaveFPRegs; | 1674 SaveFPRegsMode mode = kSaveFPRegs; |
| 1675 CEntryStub save_doubles(1, mode); | 1675 CEntryStub save_doubles(1, mode); |
| 1676 StoreBufferOverflowStub stub(mode); | 1676 StoreBufferOverflowStub stub(mode); |
| 1677 // These stubs might already be in the snapshot, detect that and don't | 1677 // These stubs might already be in the snapshot, detect that and don't |
| 1678 // regenerate, which would lead to code stub initialization state being messed | 1678 // regenerate, which would lead to code stub initialization state being messed |
| 1679 // up. | 1679 // up. |
| (...skipping 4350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6030 __ bind(&fast_elements_case); | 6030 __ bind(&fast_elements_case); |
| 6031 GenerateCase(masm, FAST_ELEMENTS); | 6031 GenerateCase(masm, FAST_ELEMENTS); |
| 6032 } | 6032 } |
| 6033 | 6033 |
| 6034 | 6034 |
| 6035 #undef __ | 6035 #undef __ |
| 6036 | 6036 |
| 6037 } } // namespace v8::internal | 6037 } } // namespace v8::internal |
| 6038 | 6038 |
| 6039 #endif // V8_TARGET_ARCH_ARM | 6039 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |