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

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

Issue 1912093005: [turbofan] Single entry into deferred regions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | src/compiler/instruction.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_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_H_
6 #define V8_COMPILER_INSTRUCTION_H_ 6 #define V8_COMPILER_INSTRUCTION_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <map> 10 #include <map>
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after
1373 if (instr->IsCall()) return true; 1373 if (instr->IsCall()) return true;
1374 } 1374 }
1375 return false; 1375 return false;
1376 } 1376 }
1377 void Print(const RegisterConfiguration* config) const; 1377 void Print(const RegisterConfiguration* config) const;
1378 void Print() const; 1378 void Print() const;
1379 1379
1380 void PrintBlock(const RegisterConfiguration* config, int block_id) const; 1380 void PrintBlock(const RegisterConfiguration* config, int block_id) const;
1381 void PrintBlock(int block_id) const; 1381 void PrintBlock(int block_id) const;
1382 1382
1383 void ValidateEdgeSplitForm(); 1383 void ValidateEdgeSplitForm() const;
1384 void ValidateDeferredBlockExitPaths(); 1384 void ValidateDeferredBlockExitPaths() const;
1385 void ValidateSSA(); 1385 void ValidateDeferredBlockEntryPaths() const;
1386 void ValidateSSA() const;
1386 1387
1387 private: 1388 private:
1388 friend std::ostream& operator<<(std::ostream& os, 1389 friend std::ostream& operator<<(std::ostream& os,
1389 const PrintableInstructionSequence& code); 1390 const PrintableInstructionSequence& code);
1390 1391
1391 typedef ZoneMap<const Instruction*, SourcePosition> SourcePositionMap; 1392 typedef ZoneMap<const Instruction*, SourcePosition> SourcePositionMap;
1392 1393
1393 Isolate* isolate_; 1394 Isolate* isolate_;
1394 Zone* const zone_; 1395 Zone* const zone_;
1395 InstructionBlocks* const instruction_blocks_; 1396 InstructionBlocks* const instruction_blocks_;
(...skipping 18 matching lines...) Expand all
1414 1415
1415 1416
1416 std::ostream& operator<<(std::ostream& os, 1417 std::ostream& operator<<(std::ostream& os,
1417 const PrintableInstructionSequence& code); 1418 const PrintableInstructionSequence& code);
1418 1419
1419 } // namespace compiler 1420 } // namespace compiler
1420 } // namespace internal 1421 } // namespace internal
1421 } // namespace v8 1422 } // namespace v8
1422 1423
1423 #endif // V8_COMPILER_INSTRUCTION_H_ 1424 #endif // V8_COMPILER_INSTRUCTION_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/instruction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698