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 8013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8087 | 8098 |
8088 __ Pop(lr, r5, r1); | 8099 __ Pop(lr, r5, r1); |
8089 __ Ret(); | 8100 __ Ret(); |
8090 } | 8101 } |
8091 | 8102 |
8092 #undef __ | 8103 #undef __ |
8093 | 8104 |
8094 } } // namespace v8::internal | 8105 } } // namespace v8::internal |
8095 | 8106 |
8096 #endif // V8_TARGET_ARCH_ARM | 8107 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |