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

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

Issue 2247353005: [builtins] support exception handling in TFJ builtins (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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
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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 Node* arg3, Node* arg4, Node* arg5, Node* context); 741 Node* arg3, Node* arg4, Node* arg5, Node* context);
742 742
743 // =========================================================================== 743 // ===========================================================================
744 // The following utility methods deal with control flow, hence might switch 744 // The following utility methods deal with control flow, hence might switch
745 // the current basic block or create new basic blocks for labels. 745 // the current basic block or create new basic blocks for labels.
746 746
747 // Control flow. 747 // Control flow.
748 void Goto(RawMachineLabel* label); 748 void Goto(RawMachineLabel* label);
749 void Branch(Node* condition, RawMachineLabel* true_val, 749 void Branch(Node* condition, RawMachineLabel* true_val,
750 RawMachineLabel* false_val); 750 RawMachineLabel* false_val);
751 void BranchIfException(Node* node, RawMachineLabel* if_exception);
caitp 2016/08/18 03:08:57 I very much prefer a separate method vs adding opt
751 void Switch(Node* index, RawMachineLabel* default_label, 752 void Switch(Node* index, RawMachineLabel* default_label,
752 const int32_t* case_values, RawMachineLabel** case_labels, 753 const int32_t* case_values, RawMachineLabel** case_labels,
753 size_t case_count); 754 size_t case_count);
754 void Return(Node* value); 755 void Return(Node* value);
755 void Return(Node* v1, Node* v2); 756 void Return(Node* v1, Node* v2);
756 void Return(Node* v1, Node* v2, Node* v3); 757 void Return(Node* v1, Node* v2, Node* v3);
757 void Bind(RawMachineLabel* label); 758 void Bind(RawMachineLabel* label);
758 void Deoptimize(Node* state); 759 void Deoptimize(Node* state);
759 void DebugBreak(); 760 void DebugBreak();
760 void Comment(const char* msg); 761 void Comment(const char* msg);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 bool deferred_; 827 bool deferred_;
827 friend class RawMachineAssembler; 828 friend class RawMachineAssembler;
828 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); 829 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel);
829 }; 830 };
830 831
831 } // namespace compiler 832 } // namespace compiler
832 } // namespace internal 833 } // namespace internal
833 } // namespace v8 834 } // namespace v8
834 835
835 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 836 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698