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 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
817 __ mov(s4, t0); | 817 __ mov(s4, t0); |
818 __ mov(s5, t0); | 818 __ mov(s5, t0); |
819 // s6 holds the root address. Do not clobber. | 819 // s6 holds the root address. Do not clobber. |
820 // s7 is cp. Do not init. | 820 // s7 is cp. Do not init. |
821 | 821 |
822 // Invoke the code and pass argc as a0. | 822 // Invoke the code and pass argc as a0. |
823 __ mov(a0, a3); | 823 __ mov(a0, a3); |
824 if (is_construct) { | 824 if (is_construct) { |
825 // No type feedback cell is available | 825 // No type feedback cell is available |
826 __ LoadRoot(a2, Heap::kUndefinedValueRootIndex); | 826 __ LoadRoot(a2, Heap::kUndefinedValueRootIndex); |
827 CallConstructStub stub(NO_CALL_FUNCTION_FLAGS); | 827 CallConstructStub stub(masm->isolate(), NO_CALL_FUNCTION_FLAGS); |
828 __ CallStub(&stub); | 828 __ CallStub(&stub); |
829 } else { | 829 } else { |
830 ParameterCount actual(a0); | 830 ParameterCount actual(a0); |
831 __ InvokeFunction(a1, actual, CALL_FUNCTION, NullCallWrapper()); | 831 __ InvokeFunction(a1, actual, CALL_FUNCTION, NullCallWrapper()); |
832 } | 832 } |
833 | 833 |
834 // Leave internal frame. | 834 // Leave internal frame. |
835 } | 835 } |
836 | 836 |
837 __ Jump(ra); | 837 __ Jump(ra); |
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1595 __ break_(0xCC); | 1595 __ break_(0xCC); |
1596 } | 1596 } |
1597 } | 1597 } |
1598 | 1598 |
1599 | 1599 |
1600 #undef __ | 1600 #undef __ |
1601 | 1601 |
1602 } } // namespace v8::internal | 1602 } } // namespace v8::internal |
1603 | 1603 |
1604 #endif // V8_TARGET_ARCH_MIPS | 1604 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |