| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 Isolate* isolate, | 54 Isolate* isolate, |
| 55 CodeStubInterfaceDescriptor* descriptor) { | 55 CodeStubInterfaceDescriptor* descriptor) { |
| 56 static Register registers[] = { r1, r0 }; | 56 static Register registers[] = { r1, r0 }; |
| 57 descriptor->register_param_count_ = 2; | 57 descriptor->register_param_count_ = 2; |
| 58 descriptor->register_params_ = registers; | 58 descriptor->register_params_ = registers; |
| 59 descriptor->deoptimization_handler_ = | 59 descriptor->deoptimization_handler_ = |
| 60 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); | 60 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); |
| 61 } | 61 } |
| 62 | 62 |
| 63 | 63 |
| 64 void KeyedStoreFastElementStub::InitializeInterfaceDescriptor( |
| 65 Isolate* isolate, |
| 66 CodeStubInterfaceDescriptor* descriptor) { |
| 67 static Register registers[] = { r2, r1, r0 }; |
| 68 descriptor->register_param_count_ = 3; |
| 69 descriptor->register_params_ = registers; |
| 70 descriptor->deoptimization_handler_ = |
| 71 FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure); |
| 72 } |
| 73 |
| 74 |
| 64 void TransitionElementsKindStub::InitializeInterfaceDescriptor( | 75 void TransitionElementsKindStub::InitializeInterfaceDescriptor( |
| 65 Isolate* isolate, | 76 Isolate* isolate, |
| 66 CodeStubInterfaceDescriptor* descriptor) { | 77 CodeStubInterfaceDescriptor* descriptor) { |
| 67 static Register registers[] = { r0, r1 }; | 78 static Register registers[] = { r0, r1 }; |
| 68 descriptor->register_param_count_ = 2; | 79 descriptor->register_param_count_ = 2; |
| 69 descriptor->register_params_ = registers; | 80 descriptor->register_params_ = registers; |
| 70 Address entry = | 81 Address entry = |
| 71 Runtime::FunctionForId(Runtime::kTransitionElementsKind)->entry; | 82 Runtime::FunctionForId(Runtime::kTransitionElementsKind)->entry; |
| 72 descriptor->deoptimization_handler_ = FUNCTION_ADDR(entry); | 83 descriptor->deoptimization_handler_ = FUNCTION_ADDR(entry); |
| 73 } | 84 } |
| (...skipping 7977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8051 | 8062 |
| 8052 __ Pop(lr, r5, r1); | 8063 __ Pop(lr, r5, r1); |
| 8053 __ Ret(); | 8064 __ Ret(); |
| 8054 } | 8065 } |
| 8055 | 8066 |
| 8056 #undef __ | 8067 #undef __ |
| 8057 | 8068 |
| 8058 } } // namespace v8::internal | 8069 } } // namespace v8::internal |
| 8059 | 8070 |
| 8060 #endif // V8_TARGET_ARCH_ARM | 8071 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |