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

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

Issue 1668953002: [turbofan] Validate split-edge form (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 | « 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 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 if (instr->IsCall()) return true; 1325 if (instr->IsCall()) return true;
1326 } 1326 }
1327 return false; 1327 return false;
1328 } 1328 }
1329 void Print(const RegisterConfiguration* config) const; 1329 void Print(const RegisterConfiguration* config) const;
1330 void Print() const; 1330 void Print() const;
1331 1331
1332 void PrintBlock(const RegisterConfiguration* config, int block_id) const; 1332 void PrintBlock(const RegisterConfiguration* config, int block_id) const;
1333 void PrintBlock(int block_id) const; 1333 void PrintBlock(int block_id) const;
1334 1334
1335 void Validate();
1336
1335 private: 1337 private:
1336 friend std::ostream& operator<<(std::ostream& os, 1338 friend std::ostream& operator<<(std::ostream& os,
1337 const PrintableInstructionSequence& code); 1339 const PrintableInstructionSequence& code);
1338 1340
1339 typedef ZoneMap<const Instruction*, SourcePosition> SourcePositionMap; 1341 typedef ZoneMap<const Instruction*, SourcePosition> SourcePositionMap;
1340 1342
1341 Isolate* isolate_; 1343 Isolate* isolate_;
1342 Zone* const zone_; 1344 Zone* const zone_;
1343 InstructionBlocks* const instruction_blocks_; 1345 InstructionBlocks* const instruction_blocks_;
1344 SourcePositionMap source_positions_; 1346 SourcePositionMap source_positions_;
(...skipping 17 matching lines...) Expand all
1362 1364
1363 1365
1364 std::ostream& operator<<(std::ostream& os, 1366 std::ostream& operator<<(std::ostream& os,
1365 const PrintableInstructionSequence& code); 1367 const PrintableInstructionSequence& code);
1366 1368
1367 } // namespace compiler 1369 } // namespace compiler
1368 } // namespace internal 1370 } // namespace internal
1369 } // namespace v8 1371 } // namespace v8
1370 1372
1371 #endif // V8_COMPILER_INSTRUCTION_H_ 1373 #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