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

Side by Side Diff: src/compiler/access-builder.cc

Issue 703883002: [turbofan] Fix missing machine type for float32/float64 array accesses. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | « no previous file | test/mjsunit/asm/float32array-store-div.js » ('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 #include "src/compiler/access-builder.h" 5 #include "src/compiler/access-builder.h"
6 #include "src/types-inl.h" 6 #include "src/types-inl.h"
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace compiler { 10 namespace compiler {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 return {kTypedArrayBoundsCheck, taggedness, header_size, 99 return {kTypedArrayBoundsCheck, taggedness, header_size,
100 Type::Unsigned32(), kMachUint16}; 100 Type::Unsigned32(), kMachUint16};
101 case kExternalInt32Array: 101 case kExternalInt32Array:
102 return {kTypedArrayBoundsCheck, taggedness, header_size, Type::Signed32(), 102 return {kTypedArrayBoundsCheck, taggedness, header_size, Type::Signed32(),
103 kMachInt32}; 103 kMachInt32};
104 case kExternalUint32Array: 104 case kExternalUint32Array:
105 return {kTypedArrayBoundsCheck, taggedness, header_size, 105 return {kTypedArrayBoundsCheck, taggedness, header_size,
106 Type::Unsigned32(), kMachUint32}; 106 Type::Unsigned32(), kMachUint32};
107 case kExternalFloat32Array: 107 case kExternalFloat32Array:
108 return {kTypedArrayBoundsCheck, taggedness, header_size, Type::Number(), 108 return {kTypedArrayBoundsCheck, taggedness, header_size, Type::Number(),
109 kRepFloat32}; 109 kMachFloat32};
110 case kExternalFloat64Array: 110 case kExternalFloat64Array:
111 return {kTypedArrayBoundsCheck, taggedness, header_size, Type::Number(), 111 return {kTypedArrayBoundsCheck, taggedness, header_size, Type::Number(),
112 kRepFloat64}; 112 kMachFloat64};
113 } 113 }
114 UNREACHABLE(); 114 UNREACHABLE();
115 return {kTypedArrayBoundsCheck, kUntaggedBase, 0, Type::None(), kMachNone}; 115 return {kTypedArrayBoundsCheck, kUntaggedBase, 0, Type::None(), kMachNone};
116 } 116 }
117 117
118 } // namespace compiler 118 } // namespace compiler
119 } // namespace internal 119 } // namespace internal
120 } // namespace v8 120 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | test/mjsunit/asm/float32array-store-div.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698