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 2872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2883 // Do tail-call to the runtime system. | 2883 // Do tail-call to the runtime system. |
2884 ExternalReference store_ic_property = | 2884 ExternalReference store_ic_property = |
2885 ExternalReference(IC_Utility(IC::kStoreInterceptorProperty), isolate()); | 2885 ExternalReference(IC_Utility(IC::kStoreInterceptorProperty), isolate()); |
2886 __ TailCallExternalReference(store_ic_property, 4, 1); | 2886 __ TailCallExternalReference(store_ic_property, 4, 1); |
2887 | 2887 |
2888 // Handle store cache miss. | 2888 // Handle store cache miss. |
2889 __ bind(&miss); | 2889 __ bind(&miss); |
2890 TailCallBuiltin(masm(), MissBuiltin(kind())); | 2890 TailCallBuiltin(masm(), MissBuiltin(kind())); |
2891 | 2891 |
2892 // Return the generated code. | 2892 // Return the generated code. |
2893 return GetICCode(kind(), Code::INTERCEPTOR, name); | 2893 return GetCode(kind(), Code::INTERCEPTOR, name); |
2894 } | 2894 } |
2895 | 2895 |
2896 | 2896 |
2897 Handle<Code> StoreStubCompiler::CompileStoreGlobal( | 2897 Handle<Code> StoreStubCompiler::CompileStoreGlobal( |
2898 Handle<GlobalObject> object, | 2898 Handle<GlobalObject> object, |
2899 Handle<PropertyCell> cell, | 2899 Handle<PropertyCell> cell, |
2900 Handle<Name> name) { | 2900 Handle<Name> name) { |
2901 Label miss; | 2901 Label miss; |
2902 | 2902 |
2903 // Check that the map of the global has not changed. | 2903 // Check that the map of the global has not changed. |
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3691 TailCallBuiltin(masm, Builtins::kKeyedStoreIC_Slow); | 3691 TailCallBuiltin(masm, Builtins::kKeyedStoreIC_Slow); |
3692 } | 3692 } |
3693 } | 3693 } |
3694 | 3694 |
3695 | 3695 |
3696 #undef __ | 3696 #undef __ |
3697 | 3697 |
3698 } } // namespace v8::internal | 3698 } } // namespace v8::internal |
3699 | 3699 |
3700 #endif // V8_TARGET_ARCH_ARM | 3700 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |