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/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: 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
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(AllocateObject) \ 53 V(AllocateObject) \
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 1092 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 LBreak: public LTemplateInstruction<0, 0, 0> {
1177 public:
1178 DECLARE_CONCRETE_INSTRUCTION(Break, "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

Powered by Google App Engine
This is Rietveld 408576698