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

Side by Side Diff: src/ia32/lithium-ia32.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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 V(ClassOfTestAndBranch) \ 77 V(ClassOfTestAndBranch) \
78 V(CmpIDAndBranch) \ 78 V(CmpIDAndBranch) \
79 V(CmpObjectEqAndBranch) \ 79 V(CmpObjectEqAndBranch) \
80 V(CmpMapAndBranch) \ 80 V(CmpMapAndBranch) \
81 V(CmpT) \ 81 V(CmpT) \
82 V(CmpConstantEqAndBranch) \ 82 V(CmpConstantEqAndBranch) \
83 V(ConstantD) \ 83 V(ConstantD) \
84 V(ConstantI) \ 84 V(ConstantI) \
85 V(ConstantT) \ 85 V(ConstantT) \
86 V(Context) \ 86 V(Context) \
87 V(DebugBreak) \
87 V(DeclareGlobals) \ 88 V(DeclareGlobals) \
88 V(DeleteProperty) \ 89 V(DeleteProperty) \
89 V(Deoptimize) \ 90 V(Deoptimize) \
90 V(DivI) \ 91 V(DivI) \
91 V(DoubleToI) \ 92 V(DoubleToI) \
92 V(DummyUse) \ 93 V(DummyUse) \
93 V(ElementsKind) \ 94 V(ElementsKind) \
94 V(FixedArrayBaseLength) \ 95 V(FixedArrayBaseLength) \
95 V(FunctionLiteral) \ 96 V(FunctionLiteral) \
96 V(GetCachedArrayIndex) \ 97 V(GetCachedArrayIndex) \
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 }; 563 };
563 564
564 565
565 class LArgumentsElements: public LTemplateInstruction<1, 0, 0> { 566 class LArgumentsElements: public LTemplateInstruction<1, 0, 0> {
566 public: 567 public:
567 DECLARE_CONCRETE_INSTRUCTION(ArgumentsElements, "arguments-elements") 568 DECLARE_CONCRETE_INSTRUCTION(ArgumentsElements, "arguments-elements")
568 DECLARE_HYDROGEN_ACCESSOR(ArgumentsElements) 569 DECLARE_HYDROGEN_ACCESSOR(ArgumentsElements)
569 }; 570 };
570 571
571 572
573 class LDebugBreak: public LTemplateInstruction<0, 0, 0> {
574 public:
575 DECLARE_CONCRETE_INSTRUCTION(DebugBreak, "break")
576 };
577
578
572 class LModI: public LTemplateInstruction<1, 2, 1> { 579 class LModI: public LTemplateInstruction<1, 2, 1> {
573 public: 580 public:
574 LModI(LOperand* left, LOperand* right, LOperand* temp) { 581 LModI(LOperand* left, LOperand* right, LOperand* temp) {
575 inputs_[0] = left; 582 inputs_[0] = left;
576 inputs_[1] = right; 583 inputs_[1] = right;
577 temps_[0] = temp; 584 temps_[0] = temp;
578 } 585 }
579 586
580 LOperand* left() { return inputs_[0]; } 587 LOperand* left() { return inputs_[0]; }
581 LOperand* right() { return inputs_[1]; } 588 LOperand* right() { return inputs_[1]; }
(...skipping 2356 matching lines...) Expand 10 before | Expand all | Expand 10 after
2938 2945
2939 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2946 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2940 }; 2947 };
2941 2948
2942 #undef DECLARE_HYDROGEN_ACCESSOR 2949 #undef DECLARE_HYDROGEN_ACCESSOR
2943 #undef DECLARE_CONCRETE_INSTRUCTION 2950 #undef DECLARE_CONCRETE_INSTRUCTION
2944 2951
2945 } } // namespace v8::internal 2952 } } // namespace v8::internal
2946 2953
2947 #endif // V8_IA32_LITHIUM_IA32_H_ 2954 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698