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

Side by Side Diff: runtime/vm/intermediate_language.cc

Issue 11027060: Faster 64-bit right-shift for the ia32 compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: addressed comments Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_ia32.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/intermediate_language.h" 5 #include "vm/intermediate_language.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/dart_entry.h" 8 #include "vm/dart_entry.h"
9 #include "vm/flow_graph_allocator.h" 9 #include "vm/flow_graph_allocator.h"
10 #include "vm/flow_graph_builder.h" 10 #include "vm/flow_graph_builder.h"
(...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 RawAbstractType* BinaryMintOpInstr::CompileType() const { 1205 RawAbstractType* BinaryMintOpInstr::CompileType() const {
1206 return Type::IntType(); 1206 return Type::IntType();
1207 } 1207 }
1208 1208
1209 1209
1210 intptr_t BinaryMintOpInstr::ResultCid() const { 1210 intptr_t BinaryMintOpInstr::ResultCid() const {
1211 return kDynamicCid; 1211 return kDynamicCid;
1212 } 1212 }
1213 1213
1214 1214
1215 RawAbstractType* ShiftMintOpInstr::CompileType() const {
1216 return Type::IntType();
1217 }
1218
1219
1220 intptr_t ShiftMintOpInstr::ResultCid() const {
1221 return kDynamicCid;
1222 }
1223
1224
1215 RawAbstractType* UnaryMintOpInstr::CompileType() const { 1225 RawAbstractType* UnaryMintOpInstr::CompileType() const {
1216 return Type::IntType(); 1226 return Type::IntType();
1217 } 1227 }
1218 1228
1219 1229
1220 intptr_t UnaryMintOpInstr::ResultCid() const { 1230 intptr_t UnaryMintOpInstr::ResultCid() const {
1221 return kDynamicCid; 1231 return kDynamicCid;
1222 } 1232 }
1223 1233
1224 1234
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
2069 new_max = new_max.Clamp(); 2079 new_max = new_max.Clamp();
2070 } 2080 }
2071 2081
2072 return Range::Update(&range_, new_min, new_max); 2082 return Range::Update(&range_, new_min, new_max);
2073 } 2083 }
2074 2084
2075 2085
2076 #undef __ 2086 #undef __
2077 2087
2078 } // namespace dart 2088 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698