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

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: 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') | src/hydrogen-instructions.h » ('J')
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 V(Allocate) \ 53 V(Allocate) \
54 V(ApplyArguments) \ 54 V(ApplyArguments) \
55 V(ArgumentsElements) \ 55 V(ArgumentsElements) \
56 V(ArgumentsLength) \ 56 V(ArgumentsLength) \
57 V(ArithmeticD) \ 57 V(ArithmeticD) \
58 V(ArithmeticT) \ 58 V(ArithmeticT) \
59 V(BitI) \ 59 V(BitI) \
60 V(BitNotI) \ 60 V(BitNotI) \
61 V(BoundsCheck) \ 61 V(BoundsCheck) \
62 V(Branch) \ 62 V(Branch) \
63 V(Break) \
63 V(CallConstantFunction) \ 64 V(CallConstantFunction) \
64 V(CallFunction) \ 65 V(CallFunction) \
65 V(CallGlobal) \ 66 V(CallGlobal) \
66 V(CallKeyed) \ 67 V(CallKeyed) \
67 V(CallKnownGlobal) \ 68 V(CallKnownGlobal) \
68 V(CallNamed) \ 69 V(CallNamed) \
69 V(CallNew) \ 70 V(CallNew) \
70 V(CallNewArray) \ 71 V(CallNewArray) \
71 V(CallRuntime) \ 72 V(CallRuntime) \
72 V(CallStub) \ 73 V(CallStub) \
(...skipping 615 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 LBreak: public LTemplateInstruction<0, 0, 0> {
700 public:
701 DECLARE_CONCRETE_INSTRUCTION(Break, "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') | src/hydrogen-instructions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698