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

Side by Side Diff: src/compiler/ppc/code-generator-ppc.cc

Issue 1146963002: Add %GetCallerJSFunction intrinsic (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 5 years, 6 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/compiler/opcodes.h ('k') | src/compiler/raw-machine-assembler.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 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 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/ppc/macro-assembler-ppc.h" 10 #include "src/ppc/macro-assembler-ppc.h"
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 break; 680 break;
681 } 681 }
682 case kArchRet: 682 case kArchRet:
683 AssembleReturn(); 683 AssembleReturn();
684 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 684 DCHECK_EQ(LeaveRC, i.OutputRCBit());
685 break; 685 break;
686 case kArchStackPointer: 686 case kArchStackPointer:
687 __ mr(i.OutputRegister(), sp); 687 __ mr(i.OutputRegister(), sp);
688 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 688 DCHECK_EQ(LeaveRC, i.OutputRCBit());
689 break; 689 break;
690 case kArchFramePointer:
691 __ mr(i.OutputRegister(), fp);
692 DCHECK_EQ(LeaveRC, i.OutputRCBit());
693 break;
690 case kArchTruncateDoubleToI: 694 case kArchTruncateDoubleToI:
691 // TODO(mbrandy): move slow call to stub out of line. 695 // TODO(mbrandy): move slow call to stub out of line.
692 __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); 696 __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0));
693 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 697 DCHECK_EQ(LeaveRC, i.OutputRCBit());
694 break; 698 break;
695 case kPPC_And: 699 case kPPC_And:
696 if (HasRegisterInput(instr, 1)) { 700 if (HasRegisterInput(instr, 1)) {
697 __ and_(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1), 701 __ and_(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1),
698 i.OutputRCBit()); 702 i.OutputRCBit());
699 } else { 703 } else {
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
1552 } 1556 }
1553 } 1557 }
1554 MarkLazyDeoptSite(); 1558 MarkLazyDeoptSite();
1555 } 1559 }
1556 1560
1557 #undef __ 1561 #undef __
1558 1562
1559 } // namespace compiler 1563 } // namespace compiler
1560 } // namespace internal 1564 } // namespace internal
1561 } // namespace v8 1565 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/raw-machine-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698