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

Side by Side Diff: src/objects.h

Issue 1371243004: Version 4.6.85.23 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.6
Patch Set: Created 5 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
« no previous file with comments | « src/lookup.cc ('k') | src/objects.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 5309 matching lines...) Expand 10 before | Expand all | Expand 10 after
5320 5320
5321 int NumberOfFields(); 5321 int NumberOfFields();
5322 5322
5323 // TODO(ishell): candidate with JSObject::MigrateToMap(). 5323 // TODO(ishell): candidate with JSObject::MigrateToMap().
5324 bool InstancesNeedRewriting(Map* target, int target_number_of_fields, 5324 bool InstancesNeedRewriting(Map* target, int target_number_of_fields,
5325 int target_inobject, int target_unused, 5325 int target_inobject, int target_unused,
5326 int* old_number_of_fields); 5326 int* old_number_of_fields);
5327 // TODO(ishell): moveit! 5327 // TODO(ishell): moveit!
5328 static Handle<Map> GeneralizeAllFieldRepresentations(Handle<Map> map); 5328 static Handle<Map> GeneralizeAllFieldRepresentations(Handle<Map> map);
5329 MUST_USE_RESULT static Handle<HeapType> GeneralizeFieldType( 5329 MUST_USE_RESULT static Handle<HeapType> GeneralizeFieldType(
5330 Handle<HeapType> type1, 5330 Representation rep1, Handle<HeapType> type1, Representation rep2,
5331 Handle<HeapType> type2, 5331 Handle<HeapType> type2, Isolate* isolate);
5332 Isolate* isolate);
5333 static void GeneralizeFieldType(Handle<Map> map, int modify_index, 5332 static void GeneralizeFieldType(Handle<Map> map, int modify_index,
5334 Representation new_representation, 5333 Representation new_representation,
5335 Handle<HeapType> new_field_type); 5334 Handle<HeapType> new_field_type);
5336 static Handle<Map> ReconfigureProperty(Handle<Map> map, int modify_index, 5335 static Handle<Map> ReconfigureProperty(Handle<Map> map, int modify_index,
5337 PropertyKind new_kind, 5336 PropertyKind new_kind,
5338 PropertyAttributes new_attributes, 5337 PropertyAttributes new_attributes,
5339 Representation new_representation, 5338 Representation new_representation,
5340 Handle<HeapType> new_field_type, 5339 Handle<HeapType> new_field_type,
5341 StoreMode store_mode); 5340 StoreMode store_mode);
5342 static Handle<Map> CopyGeneralizeAllRepresentations( 5341 static Handle<Map> CopyGeneralizeAllRepresentations(
(...skipping 4913 matching lines...) Expand 10 before | Expand all | Expand 10 after
10256 } else { 10255 } else {
10257 value &= ~(1 << bit_position); 10256 value &= ~(1 << bit_position);
10258 } 10257 }
10259 return value; 10258 return value;
10260 } 10259 }
10261 }; 10260 };
10262 10261
10263 } } // namespace v8::internal 10262 } } // namespace v8::internal
10264 10263
10265 #endif // V8_OBJECTS_H_ 10264 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/lookup.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698