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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 Isolate* isolate, | 111 Isolate* isolate, |
112 CodeStubInterfaceDescriptor* descriptor) { | 112 CodeStubInterfaceDescriptor* descriptor) { |
113 static Register registers[] = { edx, ecx }; | 113 static Register registers[] = { edx, ecx }; |
114 descriptor->register_param_count_ = 2; | 114 descriptor->register_param_count_ = 2; |
115 descriptor->register_params_ = registers; | 115 descriptor->register_params_ = registers; |
116 descriptor->deoptimization_handler_ = | 116 descriptor->deoptimization_handler_ = |
117 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); | 117 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); |
118 } | 118 } |
119 | 119 |
120 | 120 |
| 121 void KeyedLoadDictionaryElementStub::InitializeInterfaceDescriptor( |
| 122 Isolate* isolate, |
| 123 CodeStubInterfaceDescriptor* descriptor) { |
| 124 static Register registers[] = { edx, ecx }; |
| 125 descriptor->register_param_count_ = 2; |
| 126 descriptor->register_params_ = registers; |
| 127 descriptor->deoptimization_handler_ = |
| 128 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); |
| 129 } |
| 130 |
| 131 |
121 void LoadFieldStub::InitializeInterfaceDescriptor( | 132 void LoadFieldStub::InitializeInterfaceDescriptor( |
122 Isolate* isolate, | 133 Isolate* isolate, |
123 CodeStubInterfaceDescriptor* descriptor) { | 134 CodeStubInterfaceDescriptor* descriptor) { |
124 static Register registers[] = { edx }; | 135 static Register registers[] = { edx }; |
125 descriptor->register_param_count_ = 1; | 136 descriptor->register_param_count_ = 1; |
126 descriptor->register_params_ = registers; | 137 descriptor->register_params_ = registers; |
127 descriptor->deoptimization_handler_ = NULL; | 138 descriptor->deoptimization_handler_ = NULL; |
128 } | 139 } |
129 | 140 |
130 | 141 |
(...skipping 5929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6060 __ bind(&fast_elements_case); | 6071 __ bind(&fast_elements_case); |
6061 GenerateCase(masm, FAST_ELEMENTS); | 6072 GenerateCase(masm, FAST_ELEMENTS); |
6062 } | 6073 } |
6063 | 6074 |
6064 | 6075 |
6065 #undef __ | 6076 #undef __ |
6066 | 6077 |
6067 } } // namespace v8::internal | 6078 } } // namespace v8::internal |
6068 | 6079 |
6069 #endif // V8_TARGET_ARCH_IA32 | 6080 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |