| 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 2461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2472 args.at<Object>(0), | 2472 args.at<Object>(0), |
| 2473 args.at<Object>(1), | 2473 args.at<Object>(1), |
| 2474 args.at<Object>(2), | 2474 args.at<Object>(2), |
| 2475 MISS_FORCE_GENERIC); | 2475 MISS_FORCE_GENERIC); |
| 2476 } | 2476 } |
| 2477 | 2477 |
| 2478 | 2478 |
| 2479 RUNTIME_FUNCTION(MaybeObject*, ElementsTransitionAndStoreIC_Miss) { | 2479 RUNTIME_FUNCTION(MaybeObject*, ElementsTransitionAndStoreIC_Miss) { |
| 2480 SealHandleScope scope(isolate); | 2480 SealHandleScope scope(isolate); |
| 2481 ASSERT(args.length() == 4); | 2481 ASSERT(args.length() == 4); |
| 2482 KeyedStoreIC ic(IC::NO_EXTRA_FRAME, isolate); | 2482 KeyedStoreIC ic(IC::EXTRA_CALL_FRAME, isolate); |
| 2483 Code::ExtraICState extra_ic_state = ic.target()->extra_ic_state(); | 2483 Code::ExtraICState extra_ic_state = ic.target()->extra_ic_state(); |
| 2484 Handle<Object> value = args.at<Object>(0); | 2484 Handle<Object> value = args.at<Object>(0); |
| 2485 Handle<Object> key = args.at<Object>(2); | 2485 Handle<Object> key = args.at<Object>(2); |
| 2486 Handle<Object> object = args.at<Object>(3); | 2486 Handle<Object> object = args.at<Object>(3); |
| 2487 StrictModeFlag strict_mode = Code::GetStrictMode(extra_ic_state); | 2487 StrictModeFlag strict_mode = Code::GetStrictMode(extra_ic_state); |
| 2488 return Runtime::SetObjectProperty(isolate, | 2488 return Runtime::SetObjectProperty(isolate, |
| 2489 object, | 2489 object, |
| 2490 key, | 2490 key, |
| 2491 value, | 2491 value, |
| 2492 NONE, | 2492 NONE, |
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3110 #undef ADDR | 3110 #undef ADDR |
| 3111 }; | 3111 }; |
| 3112 | 3112 |
| 3113 | 3113 |
| 3114 Address IC::AddressFromUtilityId(IC::UtilityId id) { | 3114 Address IC::AddressFromUtilityId(IC::UtilityId id) { |
| 3115 return IC_utilities[id]; | 3115 return IC_utilities[id]; |
| 3116 } | 3116 } |
| 3117 | 3117 |
| 3118 | 3118 |
| 3119 } } // namespace v8::internal | 3119 } } // namespace v8::internal |
| OLD | NEW |