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

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

Issue 1479893002: Allocators for map<K, V> need to allocate pair<const K, V>. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | src/zone-containers.h » ('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 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 const bool deferred_; // Block contains deferred code. 1076 const bool deferred_; // Block contains deferred code.
1077 const bool handler_; // Block is a handler entry point. 1077 const bool handler_; // Block is a handler entry point.
1078 bool needs_frame_; 1078 bool needs_frame_;
1079 bool must_construct_frame_; 1079 bool must_construct_frame_;
1080 bool must_deconstruct_frame_; 1080 bool must_deconstruct_frame_;
1081 RpoNumber last_deferred_; 1081 RpoNumber last_deferred_;
1082 }; 1082 };
1083 1083
1084 typedef ZoneDeque<Constant> ConstantDeque; 1084 typedef ZoneDeque<Constant> ConstantDeque;
1085 typedef std::map<int, Constant, std::less<int>, 1085 typedef std::map<int, Constant, std::less<int>,
1086 zone_allocator<std::pair<int, Constant> > > ConstantMap; 1086 zone_allocator<std::pair<const int, Constant> > > ConstantMap;
1087 1087
1088 typedef ZoneDeque<Instruction*> InstructionDeque; 1088 typedef ZoneDeque<Instruction*> InstructionDeque;
1089 typedef ZoneDeque<ReferenceMap*> ReferenceMapDeque; 1089 typedef ZoneDeque<ReferenceMap*> ReferenceMapDeque;
1090 typedef ZoneVector<FrameStateDescriptor*> DeoptimizationVector; 1090 typedef ZoneVector<FrameStateDescriptor*> DeoptimizationVector;
1091 typedef ZoneVector<InstructionBlock*> InstructionBlocks; 1091 typedef ZoneVector<InstructionBlock*> InstructionBlocks;
1092 1092
1093 struct PrintableInstructionSequence; 1093 struct PrintableInstructionSequence;
1094 1094
1095 1095
1096 // Represents architecture-specific generated code before, during, and after 1096 // Represents architecture-specific generated code before, during, and after
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1277 1277
1278 1278
1279 std::ostream& operator<<(std::ostream& os, 1279 std::ostream& operator<<(std::ostream& os,
1280 const PrintableInstructionSequence& code); 1280 const PrintableInstructionSequence& code);
1281 1281
1282 } // namespace compiler 1282 } // namespace compiler
1283 } // namespace internal 1283 } // namespace internal
1284 } // namespace v8 1284 } // namespace v8
1285 1285
1286 #endif // V8_COMPILER_INSTRUCTION_H_ 1286 #endif // V8_COMPILER_INSTRUCTION_H_
OLDNEW
« no previous file with comments | « no previous file | src/zone-containers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698