| 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 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 __ bind(label); | 739 __ bind(label); |
| 740 __ mov(this->name(), Operand(name)); | 740 __ mov(this->name(), Operand(name)); |
| 741 } | 741 } |
| 742 } | 742 } |
| 743 | 743 |
| 744 | 744 |
| 745 static void GenerateCallFunction(MacroAssembler* masm, | 745 static void GenerateCallFunction(MacroAssembler* masm, |
| 746 Handle<Object> object, | 746 Handle<Object> object, |
| 747 const ParameterCount& arguments, | 747 const ParameterCount& arguments, |
| 748 Label* miss, | 748 Label* miss, |
| 749 Code::ExtraICState extra_ic_state) { | 749 ExtraICState extra_ic_state) { |
| 750 // ----------- S t a t e ------------- | 750 // ----------- S t a t e ------------- |
| 751 // -- r0: receiver | 751 // -- r0: receiver |
| 752 // -- r1: function to call | 752 // -- r1: function to call |
| 753 // ----------------------------------- | 753 // ----------------------------------- |
| 754 | 754 |
| 755 // Check that the function really is a function. | 755 // Check that the function really is a function. |
| 756 __ JumpIfSmi(r1, miss); | 756 __ JumpIfSmi(r1, miss); |
| 757 __ CompareObjectType(r1, r3, r3, JS_FUNCTION_TYPE); | 757 __ CompareObjectType(r1, r3, r3, JS_FUNCTION_TYPE); |
| 758 __ b(ne, miss); | 758 __ b(ne, miss); |
| 759 | 759 |
| (...skipping 2202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2962 // ----------------------------------- | 2962 // ----------------------------------- |
| 2963 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 2963 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); |
| 2964 } | 2964 } |
| 2965 | 2965 |
| 2966 | 2966 |
| 2967 #undef __ | 2967 #undef __ |
| 2968 | 2968 |
| 2969 } } // namespace v8::internal | 2969 } } // namespace v8::internal |
| 2970 | 2970 |
| 2971 #endif // V8_TARGET_ARCH_ARM | 2971 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |