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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 Isolate* isolate, | 106 Isolate* isolate, |
107 CodeStubInterfaceDescriptor* descriptor) { | 107 CodeStubInterfaceDescriptor* descriptor) { |
108 static Register registers[] = { r1, r0 }; | 108 static Register registers[] = { r1, r0 }; |
109 descriptor->register_param_count_ = 2; | 109 descriptor->register_param_count_ = 2; |
110 descriptor->register_params_ = registers; | 110 descriptor->register_params_ = registers; |
111 descriptor->deoptimization_handler_ = | 111 descriptor->deoptimization_handler_ = |
112 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); | 112 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); |
113 } | 113 } |
114 | 114 |
115 | 115 |
| 116 void KeyedLoadDictionaryElementStub::InitializeInterfaceDescriptor( |
| 117 Isolate* isolate, |
| 118 CodeStubInterfaceDescriptor* descriptor) { |
| 119 static Register registers[] = { r1, r0 }; |
| 120 descriptor->register_param_count_ = 2; |
| 121 descriptor->register_params_ = registers; |
| 122 descriptor->deoptimization_handler_ = |
| 123 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); |
| 124 } |
| 125 |
| 126 |
116 void LoadFieldStub::InitializeInterfaceDescriptor( | 127 void LoadFieldStub::InitializeInterfaceDescriptor( |
117 Isolate* isolate, | 128 Isolate* isolate, |
118 CodeStubInterfaceDescriptor* descriptor) { | 129 CodeStubInterfaceDescriptor* descriptor) { |
119 static Register registers[] = { r0 }; | 130 static Register registers[] = { r0 }; |
120 descriptor->register_param_count_ = 1; | 131 descriptor->register_param_count_ = 1; |
121 descriptor->register_params_ = registers; | 132 descriptor->register_params_ = registers; |
122 descriptor->deoptimization_handler_ = NULL; | 133 descriptor->deoptimization_handler_ = NULL; |
123 } | 134 } |
124 | 135 |
125 | 136 |
(...skipping 5942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6068 __ bind(&fast_elements_case); | 6079 __ bind(&fast_elements_case); |
6069 GenerateCase(masm, FAST_ELEMENTS); | 6080 GenerateCase(masm, FAST_ELEMENTS); |
6070 } | 6081 } |
6071 | 6082 |
6072 | 6083 |
6073 #undef __ | 6084 #undef __ |
6074 | 6085 |
6075 } } // namespace v8::internal | 6086 } } // namespace v8::internal |
6076 | 6087 |
6077 #endif // V8_TARGET_ARCH_ARM | 6088 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |