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

Side by Side Diff: src/compiler/code-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/code-stub-assembler.cc ('k') | src/compiler/code-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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_CODE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ 6 #define V8_COMPILER_CODE_ASSEMBLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 bool ToIntPtrConstant(Node* node, intptr_t& out_value); 227 bool ToIntPtrConstant(Node* node, intptr_t& out_value);
228 228
229 Node* Parameter(int value); 229 Node* Parameter(int value);
230 Node* GetJSContextParameter(); 230 Node* GetJSContextParameter();
231 void Return(Node* value); 231 void Return(Node* value);
232 void Return(Node* value1, Node* value2); 232 void Return(Node* value1, Node* value2);
233 void Return(Node* value1, Node* value2, Node* value3); 233 void Return(Node* value1, Node* value2, Node* value3);
234 void PopAndReturn(Node* pop, Node* value); 234 void PopAndReturn(Node* pop, Node* value);
235 235
236 void DebugBreak(); 236 void DebugBreak();
237 void Unreachable();
237 void Comment(const char* format, ...); 238 void Comment(const char* format, ...);
238 239
239 void Bind(Label* label); 240 void Bind(Label* label);
240 void Goto(Label* label); 241 void Goto(Label* label);
241 void GotoIf(Node* condition, Label* true_label); 242 void GotoIf(Node* condition, Label* true_label);
242 void GotoIfNot(Node* condition, Label* false_label); 243 void GotoIfNot(Node* condition, Label* false_label);
243 void Branch(Node* condition, Label* true_label, Label* false_label); 244 void Branch(Node* condition, Label* true_label, Label* false_label);
244 245
245 void Switch(Node* index, Label* default_label, const int32_t* case_values, 246 void Switch(Node* index, Label* default_label, const int32_t* case_values,
246 Label** case_labels, size_t case_count); 247 Label** case_labels, size_t case_count);
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 CodeAssemblerCallback call_epilogue_; 510 CodeAssemblerCallback call_epilogue_;
510 511
511 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); 512 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState);
512 }; 513 };
513 514
514 } // namespace compiler 515 } // namespace compiler
515 } // namespace internal 516 } // namespace internal
516 } // namespace v8 517 } // namespace v8
517 518
518 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 519 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698