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

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: 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 V(AllocateObject) \ 47 V(AllocateObject) \
48 V(ApplyArguments) \ 48 V(ApplyArguments) \
49 V(ArgumentsElements) \ 49 V(ArgumentsElements) \
50 V(ArgumentsLength) \ 50 V(ArgumentsLength) \
51 V(ArithmeticD) \ 51 V(ArithmeticD) \
52 V(ArithmeticT) \ 52 V(ArithmeticT) \
53 V(BitI) \ 53 V(BitI) \
54 V(BitNotI) \ 54 V(BitNotI) \
55 V(BoundsCheck) \ 55 V(BoundsCheck) \
56 V(Branch) \ 56 V(Branch) \
57 V(Break) \
57 V(CallConstantFunction) \ 58 V(CallConstantFunction) \
58 V(CallFunction) \ 59 V(CallFunction) \
59 V(CallGlobal) \ 60 V(CallGlobal) \
60 V(CallKeyed) \ 61 V(CallKeyed) \
61 V(CallKnownGlobal) \ 62 V(CallKnownGlobal) \
62 V(CallNamed) \ 63 V(CallNamed) \
63 V(CallNew) \ 64 V(CallNew) \
64 V(CallNewArray) \ 65 V(CallNewArray) \
65 V(CallRuntime) \ 66 V(CallRuntime) \
66 V(CallStub) \ 67 V(CallStub) \
(...skipping 495 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 LBreak: public LTemplateInstruction<0, 0, 0> {
574 public:
575 DECLARE_CONCRETE_INSTRUCTION(Break, "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

Powered by Google App Engine
This is Rietveld 408576698