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

Side by Side Diff: src/x64/lithium-x64.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 | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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(MapEnumLength) \ 101 V(MapEnumLength) \
101 V(FunctionLiteral) \ 102 V(FunctionLiteral) \
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 1166
1166 LOperand* value() { return inputs_[0]; } 1167 LOperand* value() { return inputs_[0]; }
1167 1168
1168 DECLARE_CONCRETE_INSTRUCTION(Branch, "branch") 1169 DECLARE_CONCRETE_INSTRUCTION(Branch, "branch")
1169 DECLARE_HYDROGEN_ACCESSOR(Branch) 1170 DECLARE_HYDROGEN_ACCESSOR(Branch)
1170 1171
1171 virtual void PrintDataTo(StringStream* stream); 1172 virtual void PrintDataTo(StringStream* stream);
1172 }; 1173 };
1173 1174
1174 1175
1176 class LDebugBreak: public LTemplateInstruction<0, 0, 0> {
1177 public:
1178 DECLARE_CONCRETE_INSTRUCTION(DebugBreak, "break")
1179 };
1180
1181
1175 class LCmpMapAndBranch: public LTemplateInstruction<0, 1, 0> { 1182 class LCmpMapAndBranch: public LTemplateInstruction<0, 1, 0> {
1176 public: 1183 public:
1177 explicit LCmpMapAndBranch(LOperand* value) { 1184 explicit LCmpMapAndBranch(LOperand* value) {
1178 inputs_[0] = value; 1185 inputs_[0] = value;
1179 } 1186 }
1180 1187
1181 LOperand* value() { return inputs_[0]; } 1188 LOperand* value() { return inputs_[0]; }
1182 1189
1183 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") 1190 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch")
1184 DECLARE_HYDROGEN_ACCESSOR(CompareMap) 1191 DECLARE_HYDROGEN_ACCESSOR(CompareMap)
(...skipping 1522 matching lines...) Expand 10 before | Expand all | Expand 10 after
2707 2714
2708 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2715 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2709 }; 2716 };
2710 2717
2711 #undef DECLARE_HYDROGEN_ACCESSOR 2718 #undef DECLARE_HYDROGEN_ACCESSOR
2712 #undef DECLARE_CONCRETE_INSTRUCTION 2719 #undef DECLARE_CONCRETE_INSTRUCTION
2713 2720
2714 } } // namespace v8::int 2721 } } // namespace v8::int
2715 2722
2716 #endif // V8_X64_LITHIUM_X64_H_ 2723 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698