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

Side by Side Diff: src/compiler/instruction-selector.h

Issue 2587763003: [turbofan] Pass Runtime::FunctionId to TrapIf and TrapUnless isel methods. (Closed)
Patch Set: Fix typos Created 4 years 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/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-selector.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_INSTRUCTION_SELECTOR_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_ 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 void VisitFinishRegion(Node* node); 327 void VisitFinishRegion(Node* node);
328 void VisitParameter(Node* node); 328 void VisitParameter(Node* node);
329 void VisitIfException(Node* node); 329 void VisitIfException(Node* node);
330 void VisitOsrValue(Node* node); 330 void VisitOsrValue(Node* node);
331 void VisitPhi(Node* node); 331 void VisitPhi(Node* node);
332 void VisitProjection(Node* node); 332 void VisitProjection(Node* node);
333 void VisitConstant(Node* node); 333 void VisitConstant(Node* node);
334 void VisitCall(Node* call, BasicBlock* handler = nullptr); 334 void VisitCall(Node* call, BasicBlock* handler = nullptr);
335 void VisitDeoptimizeIf(Node* node); 335 void VisitDeoptimizeIf(Node* node);
336 void VisitDeoptimizeUnless(Node* node); 336 void VisitDeoptimizeUnless(Node* node);
337 void VisitTrapIf(Node* node); 337 void VisitTrapIf(Node* node, Runtime::FunctionId func_id);
338 void VisitTrapUnless(Node* node); 338 void VisitTrapUnless(Node* node, Runtime::FunctionId func_id);
339 void VisitTailCall(Node* call); 339 void VisitTailCall(Node* call);
340 void VisitGoto(BasicBlock* target); 340 void VisitGoto(BasicBlock* target);
341 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); 341 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch);
342 void VisitSwitch(Node* node, const SwitchInfo& sw); 342 void VisitSwitch(Node* node, const SwitchInfo& sw);
343 void VisitDeoptimize(DeoptimizeKind kind, DeoptimizeReason reason, 343 void VisitDeoptimize(DeoptimizeKind kind, DeoptimizeReason reason,
344 Node* value); 344 Node* value);
345 void VisitReturn(Node* ret); 345 void VisitReturn(Node* ret);
346 void VisitThrow(Node* value); 346 void VisitThrow(Node* value);
347 void VisitRetain(Node* node); 347 void VisitRetain(Node* node);
348 348
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 EnableSerialization enable_serialization_; 389 EnableSerialization enable_serialization_;
390 Frame* frame_; 390 Frame* frame_;
391 bool instruction_selection_failed_; 391 bool instruction_selection_failed_;
392 }; 392 };
393 393
394 } // namespace compiler 394 } // namespace compiler
395 } // namespace internal 395 } // namespace internal
396 } // namespace v8 396 } // namespace v8
397 397
398 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ 398 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698