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

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

Issue 246643014: CodeStubs contain their corresponding Isolate* now. (part 1) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Feedback. Rebased. 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/arm64/code-stubs-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 // x26 : root register (root). 778 // x26 : root register (root).
779 // x27 : context pointer (cp). 779 // x27 : context pointer (cp).
780 // x28 : JS stack pointer (jssp). 780 // x28 : JS stack pointer (jssp).
781 // x29 : frame pointer (fp). 781 // x29 : frame pointer (fp).
782 782
783 __ Mov(x0, argc); 783 __ Mov(x0, argc);
784 if (is_construct) { 784 if (is_construct) {
785 // No type feedback cell is available. 785 // No type feedback cell is available.
786 __ LoadRoot(x2, Heap::kUndefinedValueRootIndex); 786 __ LoadRoot(x2, Heap::kUndefinedValueRootIndex);
787 787
788 CallConstructStub stub(NO_CALL_FUNCTION_FLAGS); 788 CallConstructStub stub(masm->isolate(), NO_CALL_FUNCTION_FLAGS);
789 __ CallStub(&stub); 789 __ CallStub(&stub);
790 } else { 790 } else {
791 ParameterCount actual(x0); 791 ParameterCount actual(x0);
792 __ InvokeFunction(function, actual, CALL_FUNCTION, NullCallWrapper()); 792 __ InvokeFunction(function, actual, CALL_FUNCTION, NullCallWrapper());
793 } 793 }
794 // Exit the JS internal frame and remove the parameters (except function), 794 // Exit the JS internal frame and remove the parameters (except function),
795 // and return. 795 // and return.
796 } 796 }
797 797
798 // Result is in x0. Return. 798 // Result is in x0. Return.
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
1586 __ Brk(0); 1586 __ Brk(0);
1587 } 1587 }
1588 } 1588 }
1589 1589
1590 1590
1591 #undef __ 1591 #undef __
1592 1592
1593 } } // namespace v8::internal 1593 } } // namespace v8::internal
1594 1594
1595 #endif // V8_TARGET_ARCH_ARM 1595 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/arm64/code-stubs-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698