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

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

Issue 1926023002: [turbofan] Run everything after representation selection concurrently. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove some dead code. Created 4 years, 7 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/compiler/effect-control-linearizer.cc ('k') | 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 982 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 ExternalReference ToExternalReference() const { 993 ExternalReference ToExternalReference() const {
994 DCHECK_EQ(kExternalReference, type()); 994 DCHECK_EQ(kExternalReference, type());
995 return bit_cast<ExternalReference>(static_cast<intptr_t>(value_)); 995 return bit_cast<ExternalReference>(static_cast<intptr_t>(value_));
996 } 996 }
997 997
998 RpoNumber ToRpoNumber() const { 998 RpoNumber ToRpoNumber() const {
999 DCHECK_EQ(kRpoNumber, type()); 999 DCHECK_EQ(kRpoNumber, type());
1000 return RpoNumber::FromInt(static_cast<int>(value_)); 1000 return RpoNumber::FromInt(static_cast<int>(value_));
1001 } 1001 }
1002 1002
1003 Handle<HeapObject> ToHeapObject() const { 1003 Handle<HeapObject> ToHeapObject() const;
1004 DCHECK_EQ(kHeapObject, type());
1005 return bit_cast<Handle<HeapObject> >(static_cast<intptr_t>(value_));
1006 }
1007 1004
1008 private: 1005 private:
1009 Type type_; 1006 Type type_;
1010 int64_t value_; 1007 int64_t value_;
1011 #if V8_TARGET_ARCH_32_BIT 1008 #if V8_TARGET_ARCH_32_BIT
1012 RelocInfo::Mode rmode_ = RelocInfo::NONE32; 1009 RelocInfo::Mode rmode_ = RelocInfo::NONE32;
1013 #else 1010 #else
1014 RelocInfo::Mode rmode_ = RelocInfo::NONE64; 1011 RelocInfo::Mode rmode_ = RelocInfo::NONE64;
1015 #endif 1012 #endif
1016 }; 1013 };
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
1429 1426
1430 1427
1431 std::ostream& operator<<(std::ostream& os, 1428 std::ostream& operator<<(std::ostream& os,
1432 const PrintableInstructionSequence& code); 1429 const PrintableInstructionSequence& code);
1433 1430
1434 } // namespace compiler 1431 } // namespace compiler
1435 } // namespace internal 1432 } // namespace internal
1436 } // namespace v8 1433 } // namespace v8
1437 1434
1438 #endif // V8_COMPILER_INSTRUCTION_H_ 1435 #endif // V8_COMPILER_INSTRUCTION_H_
OLDNEW
« no previous file with comments | « src/compiler/effect-control-linearizer.cc ('k') | src/compiler/instruction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698