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 2916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2927 // Do tail-call to the runtime system. | 2927 // Do tail-call to the runtime system. |
2928 ExternalReference store_ic_property = | 2928 ExternalReference store_ic_property = |
2929 ExternalReference(IC_Utility(IC::kStoreInterceptorProperty), isolate()); | 2929 ExternalReference(IC_Utility(IC::kStoreInterceptorProperty), isolate()); |
2930 __ TailCallExternalReference(store_ic_property, 4, 1); | 2930 __ TailCallExternalReference(store_ic_property, 4, 1); |
2931 | 2931 |
2932 // Handle store cache miss. | 2932 // Handle store cache miss. |
2933 __ bind(&miss); | 2933 __ bind(&miss); |
2934 TailCallBuiltin(masm(), MissBuiltin(kind())); | 2934 TailCallBuiltin(masm(), MissBuiltin(kind())); |
2935 | 2935 |
2936 // Return the generated code. | 2936 // Return the generated code. |
2937 return GetICCode(kind(), Code::INTERCEPTOR, name); | 2937 return GetCode(kind(), Code::INTERCEPTOR, name); |
2938 } | 2938 } |
2939 | 2939 |
2940 | 2940 |
2941 Handle<Code> StoreStubCompiler::CompileStoreGlobal( | 2941 Handle<Code> StoreStubCompiler::CompileStoreGlobal( |
2942 Handle<GlobalObject> object, | 2942 Handle<GlobalObject> object, |
2943 Handle<PropertyCell> cell, | 2943 Handle<PropertyCell> cell, |
2944 Handle<Name> name) { | 2944 Handle<Name> name) { |
2945 Label miss; | 2945 Label miss; |
2946 | 2946 |
2947 // Check that the map of the global has not changed. | 2947 // Check that the map of the global has not changed. |
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3791 TailCallBuiltin(masm, Builtins::kKeyedStoreIC_Slow); | 3791 TailCallBuiltin(masm, Builtins::kKeyedStoreIC_Slow); |
3792 } | 3792 } |
3793 } | 3793 } |
3794 | 3794 |
3795 | 3795 |
3796 #undef __ | 3796 #undef __ |
3797 | 3797 |
3798 } } // namespace v8::internal | 3798 } } // namespace v8::internal |
3799 | 3799 |
3800 #endif // V8_TARGET_ARCH_MIPS | 3800 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |