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 5870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6001 __ bind(&fast_elements_case); | 6012 __ bind(&fast_elements_case); |
6002 GenerateCase(masm, FAST_ELEMENTS); | 6013 GenerateCase(masm, FAST_ELEMENTS); |
6003 } | 6014 } |
6004 | 6015 |
6005 | 6016 |
6006 #undef __ | 6017 #undef __ |
6007 | 6018 |
6008 } } // namespace v8::internal | 6019 } } // namespace v8::internal |
6009 | 6020 |
6010 #endif // V8_TARGET_ARCH_IA32 | 6021 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |