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 2876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2887 // Do tail-call to the runtime system. | 2887 // Do tail-call to the runtime system. |
2888 ExternalReference store_ic_property = | 2888 ExternalReference store_ic_property = |
2889 ExternalReference(IC_Utility(IC::kStoreInterceptorProperty), isolate()); | 2889 ExternalReference(IC_Utility(IC::kStoreInterceptorProperty), isolate()); |
2890 __ TailCallExternalReference(store_ic_property, 4, 1); | 2890 __ TailCallExternalReference(store_ic_property, 4, 1); |
2891 | 2891 |
2892 // Handle store cache miss. | 2892 // Handle store cache miss. |
2893 __ bind(&miss); | 2893 __ bind(&miss); |
2894 TailCallBuiltin(masm(), MissBuiltin(kind())); | 2894 TailCallBuiltin(masm(), MissBuiltin(kind())); |
2895 | 2895 |
2896 // Return the generated code. | 2896 // Return the generated code. |
2897 return GetICCode(kind(), Code::INTERCEPTOR, name); | 2897 return GetCode(kind(), Code::INTERCEPTOR, name); |
2898 } | 2898 } |
2899 | 2899 |
2900 | 2900 |
2901 Handle<Code> StoreStubCompiler::CompileStoreGlobal( | 2901 Handle<Code> StoreStubCompiler::CompileStoreGlobal( |
2902 Handle<GlobalObject> object, | 2902 Handle<GlobalObject> object, |
2903 Handle<PropertyCell> cell, | 2903 Handle<PropertyCell> cell, |
2904 Handle<Name> name) { | 2904 Handle<Name> name) { |
2905 Label miss; | 2905 Label miss; |
2906 | 2906 |
2907 // Check that the map of the global has not changed. | 2907 // Check that the map of the global has not changed. |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3187 // ----------------------------------- | 3187 // ----------------------------------- |
3188 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_MissForceGeneric); | 3188 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_MissForceGeneric); |
3189 } | 3189 } |
3190 | 3190 |
3191 | 3191 |
3192 #undef __ | 3192 #undef __ |
3193 | 3193 |
3194 } } // namespace v8::internal | 3194 } } // namespace v8::internal |
3195 | 3195 |
3196 #endif // V8_TARGET_ARCH_MIPS | 3196 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |