OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1114 __ bind(&miss); | 1114 __ bind(&miss); |
1115 __ DecrementCounter(&Counters::named_load_global_inline, 1, r1, r3); | 1115 __ DecrementCounter(&Counters::named_load_global_inline, 1, r1, r3); |
1116 __ IncrementCounter(&Counters::named_load_global_inline_miss, 1, r1, r3); | 1116 __ IncrementCounter(&Counters::named_load_global_inline_miss, 1, r1, r3); |
1117 GenerateLoadMiss(masm(), Code::LOAD_IC); | 1117 GenerateLoadMiss(masm(), Code::LOAD_IC); |
1118 | 1118 |
1119 // Return the generated code. | 1119 // Return the generated code. |
1120 return GetCode(NORMAL, name); | 1120 return GetCode(NORMAL, name); |
1121 } | 1121 } |
1122 | 1122 |
1123 | 1123 |
1124 // TODO(1224671): IC stubs for keyed loads have not been implemented | |
1125 // for ARM. | |
1126 Object* KeyedLoadStubCompiler::CompileLoadField(String* name, | 1124 Object* KeyedLoadStubCompiler::CompileLoadField(String* name, |
1127 JSObject* receiver, | 1125 JSObject* receiver, |
1128 JSObject* holder, | 1126 JSObject* holder, |
1129 int index) { | 1127 int index) { |
1130 // ----------- S t a t e ------------- | 1128 // ----------- S t a t e ------------- |
1131 // -- lr : return address | 1129 // -- lr : return address |
1132 // -- sp[0] : key | 1130 // -- sp[0] : key |
1133 // -- sp[4] : receiver | 1131 // -- sp[4] : receiver |
1134 // ----------------------------------- | 1132 // ----------------------------------- |
1135 Label miss; | 1133 Label miss; |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1330 __ Jump(ic, RelocInfo::CODE_TARGET); | 1328 __ Jump(ic, RelocInfo::CODE_TARGET); |
1331 | 1329 |
1332 // Return the generated code. | 1330 // Return the generated code. |
1333 return GetCode(transition == NULL ? FIELD : MAP_TRANSITION, name); | 1331 return GetCode(transition == NULL ? FIELD : MAP_TRANSITION, name); |
1334 } | 1332 } |
1335 | 1333 |
1336 | 1334 |
1337 #undef __ | 1335 #undef __ |
1338 | 1336 |
1339 } } // namespace v8::internal | 1337 } } // namespace v8::internal |
OLD | NEW |