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

Side by Side Diff: src/objects.h

Issue 1092923002: Remove support for externally backed elements from the API (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/d8.h ('k') | test/cctest/compiler/test-simplified-lowering.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 CONTEXTUAL 179 CONTEXTUAL
180 }; 180 };
181 181
182 182
183 enum MutableMode { 183 enum MutableMode {
184 MUTABLE, 184 MUTABLE,
185 IMMUTABLE 185 IMMUTABLE
186 }; 186 };
187 187
188 188
189 enum ExternalArrayType {
190 kExternalInt8Array = 1,
191 kExternalUint8Array,
192 kExternalInt16Array,
193 kExternalUint16Array,
194 kExternalInt32Array,
195 kExternalUint32Array,
196 kExternalFloat32Array,
197 kExternalFloat64Array,
198 kExternalUint8ClampedArray,
199 };
200
201
189 static const int kGrowICDelta = STORE_AND_GROW_NO_TRANSITION - 202 static const int kGrowICDelta = STORE_AND_GROW_NO_TRANSITION -
190 STANDARD_STORE; 203 STANDARD_STORE;
191 STATIC_ASSERT(STANDARD_STORE == 0); 204 STATIC_ASSERT(STANDARD_STORE == 0);
192 STATIC_ASSERT(kGrowICDelta == 205 STATIC_ASSERT(kGrowICDelta ==
193 STORE_AND_GROW_TRANSITION_SMI_TO_OBJECT - 206 STORE_AND_GROW_TRANSITION_SMI_TO_OBJECT -
194 STORE_TRANSITION_SMI_TO_OBJECT); 207 STORE_TRANSITION_SMI_TO_OBJECT);
195 STATIC_ASSERT(kGrowICDelta == 208 STATIC_ASSERT(kGrowICDelta ==
196 STORE_AND_GROW_TRANSITION_SMI_TO_DOUBLE - 209 STORE_AND_GROW_TRANSITION_SMI_TO_DOUBLE -
197 STORE_TRANSITION_SMI_TO_DOUBLE); 210 STORE_TRANSITION_SMI_TO_DOUBLE);
198 STATIC_ASSERT(kGrowICDelta == 211 STATIC_ASSERT(kGrowICDelta ==
(...skipping 10870 matching lines...) Expand 10 before | Expand all | Expand 10 after
11069 } else { 11082 } else {
11070 value &= ~(1 << bit_position); 11083 value &= ~(1 << bit_position);
11071 } 11084 }
11072 return value; 11085 return value;
11073 } 11086 }
11074 }; 11087 };
11075 11088
11076 } } // namespace v8::internal 11089 } } // namespace v8::internal
11077 11090
11078 #endif // V8_OBJECTS_H_ 11091 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/d8.h ('k') | test/cctest/compiler/test-simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698