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

Side by Side Diff: src/arm/lithium-arm.h

Issue 14997008: Add a HBreak instruction for debugging (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix Created 7 years, 7 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 | « no previous file | src/arm/lithium-arm.cc » ('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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 V(ClassOfTestAndBranch) \ 82 V(ClassOfTestAndBranch) \
83 V(CmpConstantEqAndBranch) \ 83 V(CmpConstantEqAndBranch) \
84 V(CmpIDAndBranch) \ 84 V(CmpIDAndBranch) \
85 V(CmpObjectEqAndBranch) \ 85 V(CmpObjectEqAndBranch) \
86 V(CmpMapAndBranch) \ 86 V(CmpMapAndBranch) \
87 V(CmpT) \ 87 V(CmpT) \
88 V(ConstantD) \ 88 V(ConstantD) \
89 V(ConstantI) \ 89 V(ConstantI) \
90 V(ConstantT) \ 90 V(ConstantT) \
91 V(Context) \ 91 V(Context) \
92 V(DebugBreak) \
92 V(DeclareGlobals) \ 93 V(DeclareGlobals) \
93 V(DeleteProperty) \ 94 V(DeleteProperty) \
94 V(Deoptimize) \ 95 V(Deoptimize) \
95 V(DivI) \ 96 V(DivI) \
96 V(DoubleToI) \ 97 V(DoubleToI) \
97 V(DummyUse) \ 98 V(DummyUse) \
98 V(ElementsKind) \ 99 V(ElementsKind) \
99 V(FixedArrayBaseLength) \ 100 V(FixedArrayBaseLength) \
100 V(FunctionLiteral) \ 101 V(FunctionLiteral) \
101 V(GetCachedArrayIndex) \ 102 V(GetCachedArrayIndex) \
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 } 689 }
689 690
690 LOperand* minuend() { return inputs_[0]; } 691 LOperand* minuend() { return inputs_[0]; }
691 LOperand* multiplier() { return inputs_[1]; } 692 LOperand* multiplier() { return inputs_[1]; }
692 LOperand* multiplicand() { return inputs_[2]; } 693 LOperand* multiplicand() { return inputs_[2]; }
693 694
694 DECLARE_CONCRETE_INSTRUCTION(MultiplySubD, "multiply-sub-d") 695 DECLARE_CONCRETE_INSTRUCTION(MultiplySubD, "multiply-sub-d")
695 }; 696 };
696 697
697 698
699 class LDebugBreak: public LTemplateInstruction<0, 0, 0> {
700 public:
701 DECLARE_CONCRETE_INSTRUCTION(DebugBreak, "break")
702 };
703
704
698 class LCmpIDAndBranch: public LControlInstruction<2, 0> { 705 class LCmpIDAndBranch: public LControlInstruction<2, 0> {
699 public: 706 public:
700 LCmpIDAndBranch(LOperand* left, LOperand* right) { 707 LCmpIDAndBranch(LOperand* left, LOperand* right) {
701 inputs_[0] = left; 708 inputs_[0] = left;
702 inputs_[1] = right; 709 inputs_[1] = right;
703 } 710 }
704 711
705 LOperand* left() { return inputs_[0]; } 712 LOperand* left() { return inputs_[0]; }
706 LOperand* right() { return inputs_[1]; } 713 LOperand* right() { return inputs_[1]; }
707 714
(...skipping 2105 matching lines...) Expand 10 before | Expand all | Expand 10 after
2813 2820
2814 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2821 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2815 }; 2822 };
2816 2823
2817 #undef DECLARE_HYDROGEN_ACCESSOR 2824 #undef DECLARE_HYDROGEN_ACCESSOR
2818 #undef DECLARE_CONCRETE_INSTRUCTION 2825 #undef DECLARE_CONCRETE_INSTRUCTION
2819 2826
2820 } } // namespace v8::internal 2827 } } // namespace v8::internal
2821 2828
2822 #endif // V8_ARM_LITHIUM_ARM_H_ 2829 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698