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 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1075 Handle<JSObject> holder_obj, | 1075 Handle<JSObject> holder_obj, |
1076 Register scratch, | 1076 Register scratch, |
1077 Label* interceptor_succeeded) { | 1077 Label* interceptor_succeeded) { |
1078 { | 1078 { |
1079 FrameScope scope(masm, StackFrame::INTERNAL); | 1079 FrameScope scope(masm, StackFrame::INTERNAL); |
1080 | 1080 |
1081 __ Push(receiver, holder, name_); | 1081 __ Push(receiver, holder, name_); |
1082 CompileCallLoadPropertyWithInterceptor( | 1082 CompileCallLoadPropertyWithInterceptor( |
1083 masm, receiver, holder, name_, holder_obj, | 1083 masm, receiver, holder, name_, holder_obj, |
1084 IC::kLoadPropertyWithInterceptorOnly); | 1084 IC::kLoadPropertyWithInterceptorOnly); |
1085 __ pop(receiver); | |
1086 __ pop(name_); | 1085 __ pop(name_); |
1087 __ pop(holder); | 1086 __ pop(holder); |
| 1087 __ pop(receiver); |
1088 } | 1088 } |
1089 // If interceptor returns no-result sentinel, call the constant function. | 1089 // If interceptor returns no-result sentinel, call the constant function. |
1090 __ LoadRoot(scratch, Heap::kNoInterceptorResultSentinelRootIndex); | 1090 __ LoadRoot(scratch, Heap::kNoInterceptorResultSentinelRootIndex); |
1091 __ Branch(interceptor_succeeded, ne, v0, Operand(scratch)); | 1091 __ Branch(interceptor_succeeded, ne, v0, Operand(scratch)); |
1092 } | 1092 } |
1093 | 1093 |
1094 CallStubCompiler* stub_compiler_; | 1094 CallStubCompiler* stub_compiler_; |
1095 const ParameterCount& arguments_; | 1095 const ParameterCount& arguments_; |
1096 Register name_; | 1096 Register name_; |
1097 }; | 1097 }; |
(...skipping 1785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2883 // ----------------------------------- | 2883 // ----------------------------------- |
2884 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 2884 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); |
2885 } | 2885 } |
2886 | 2886 |
2887 | 2887 |
2888 #undef __ | 2888 #undef __ |
2889 | 2889 |
2890 } } // namespace v8::internal | 2890 } } // namespace v8::internal |
2891 | 2891 |
2892 #endif // V8_TARGET_ARCH_MIPS | 2892 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |