Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(975)

Side by Side Diff: src/mips/builtins-mips.cc

Issue 252383005: MIPS: CodeStubs contain their corresponding Isolate* now. (part 1) (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/mips/code-stubs-mips.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | src/mips/code-stubs-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698