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

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

Issue 2697713006: PPC/s390: Fix to builtin function (Closed)
Patch Set: Created 3 years, 10 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 | « src/builtins/ppc/builtins-ppc.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_S390 5 #if V8_TARGET_ARCH_S390
6 6
7 #include "src/codegen.h" 7 #include "src/codegen.h"
8 #include "src/debug/debug.h" 8 #include "src/debug/debug.h"
9 #include "src/deoptimizer.h" 9 #include "src/deoptimizer.h"
10 #include "src/full-codegen/full-codegen.h" 10 #include "src/full-codegen/full-codegen.h"
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 __ Push(r2, r2); 729 __ Push(r2, r2);
730 730
731 // Retrieve smi-tagged arguments count from the stack. 731 // Retrieve smi-tagged arguments count from the stack.
732 __ LoadP(r2, MemOperand(fp, ConstructFrameConstants::kLengthOffset)); 732 __ LoadP(r2, MemOperand(fp, ConstructFrameConstants::kLengthOffset));
733 __ SmiUntag(r2); 733 __ SmiUntag(r2);
734 734
735 // Retrieve the new target value from the stack. This was placed into the 735 // Retrieve the new target value from the stack. This was placed into the
736 // frame description in place of the receiver by the optimizing compiler. 736 // frame description in place of the receiver by the optimizing compiler.
737 __ la(r5, MemOperand(fp, StandardFrameConstants::kCallerSPOffset)); 737 __ la(r5, MemOperand(fp, StandardFrameConstants::kCallerSPOffset));
738 __ ShiftLeftP(ip, r2, Operand(kPointerSizeLog2)); 738 __ ShiftLeftP(ip, r2, Operand(kPointerSizeLog2));
739 __ LoadP(r5, MemOperand(r2, ip)); 739 __ LoadP(r5, MemOperand(r5, ip));
740 740
741 // Continue with constructor function invocation. 741 // Continue with constructor function invocation.
742 __ b(&post_instantiation_deopt_entry); 742 __ b(&post_instantiation_deopt_entry);
743 } 743 }
744 } 744 }
745 745
746 } // namespace 746 } // namespace
747 747
748 void Builtins::Generate_JSConstructStubGeneric(MacroAssembler* masm) { 748 void Builtins::Generate_JSConstructStubGeneric(MacroAssembler* masm) {
749 Generate_JSConstructStubHelper(masm, false, true, false); 749 Generate_JSConstructStubHelper(masm, false, true, false);
(...skipping 2498 matching lines...) Expand 10 before | Expand all | Expand 10 after
3248 __ bkpt(0); 3248 __ bkpt(0);
3249 } 3249 }
3250 } 3250 }
3251 3251
3252 #undef __ 3252 #undef __
3253 3253
3254 } // namespace internal 3254 } // namespace internal
3255 } // namespace v8 3255 } // namespace v8
3256 3256
3257 #endif // V8_TARGET_ARCH_S390 3257 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/builtins/ppc/builtins-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698