| 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 5995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6121 __ bind(&fast_elements_case); | 6132 __ bind(&fast_elements_case); |
| 6122 GenerateCase(masm, FAST_ELEMENTS); | 6133 GenerateCase(masm, FAST_ELEMENTS); |
| 6123 } | 6134 } |
| 6124 | 6135 |
| 6125 | 6136 |
| 6126 #undef __ | 6137 #undef __ |
| 6127 | 6138 |
| 6128 } } // namespace v8::internal | 6139 } } // namespace v8::internal |
| 6129 | 6140 |
| 6130 #endif // V8_TARGET_ARCH_ARM | 6141 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |