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

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 2705163005: [csa] Add Unreachable() and use it after throw sites (Closed)
Patch Set: Rebase Created 3 years, 10 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
« no previous file with comments | « src/compiler/machine-graph-verifier.cc ('k') | src/compiler/raw-machine-assembler.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 size_t case_count); 762 size_t case_count);
763 void Return(Node* value); 763 void Return(Node* value);
764 void Return(Node* v1, Node* v2); 764 void Return(Node* v1, Node* v2);
765 void Return(Node* v1, Node* v2, Node* v3); 765 void Return(Node* v1, Node* v2, Node* v3);
766 void PopAndReturn(Node* pop, Node* value); 766 void PopAndReturn(Node* pop, Node* value);
767 void PopAndReturn(Node* pop, Node* v1, Node* v2); 767 void PopAndReturn(Node* pop, Node* v1, Node* v2);
768 void PopAndReturn(Node* pop, Node* v1, Node* v2, Node* v3); 768 void PopAndReturn(Node* pop, Node* v1, Node* v2, Node* v3);
769 void Bind(RawMachineLabel* label); 769 void Bind(RawMachineLabel* label);
770 void Deoptimize(Node* state); 770 void Deoptimize(Node* state);
771 void DebugBreak(); 771 void DebugBreak();
772 void Unreachable();
772 void Comment(const char* msg); 773 void Comment(const char* msg);
773 774
774 // Add success / exception successor blocks and ends the current block ending 775 // Add success / exception successor blocks and ends the current block ending
775 // in a potentially throwing call node. 776 // in a potentially throwing call node.
776 void Continuations(Node* call, RawMachineLabel* if_success, 777 void Continuations(Node* call, RawMachineLabel* if_success,
777 RawMachineLabel* if_exception); 778 RawMachineLabel* if_exception);
778 779
779 // Variables. 780 // Variables.
780 Node* Phi(MachineRepresentation rep, Node* n1, Node* n2) { 781 Node* Phi(MachineRepresentation rep, Node* n1, Node* n2) {
781 return AddNode(common()->Phi(rep, 2), n1, n2, graph()->start()); 782 return AddNode(common()->Phi(rep, 2), n1, n2, graph()->start());
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 bool deferred_; 843 bool deferred_;
843 friend class RawMachineAssembler; 844 friend class RawMachineAssembler;
844 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); 845 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel);
845 }; 846 };
846 847
847 } // namespace compiler 848 } // namespace compiler
848 } // namespace internal 849 } // namespace internal
849 } // namespace v8 850 } // namespace v8
850 851
851 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 852 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/machine-graph-verifier.cc ('k') | src/compiler/raw-machine-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698