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

Side by Side Diff: src/objects.h

Issue 1110393003: drop interalization of strings entering global constant slots (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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 9830 matching lines...) Expand 10 before | Expand all | Expand 10 after
9841 // property. 9841 // property.
9842 DECL_ACCESSORS(dependent_code, DependentCode) 9842 DECL_ACCESSORS(dependent_code, DependentCode)
9843 9843
9844 PropertyCellConstantType GetConstantType(); 9844 PropertyCellConstantType GetConstantType();
9845 9845
9846 // Computes the new type of the cell's contents for the given value, but 9846 // Computes the new type of the cell's contents for the given value, but
9847 // without actually modifying the details. 9847 // without actually modifying the details.
9848 static PropertyCellType UpdatedType(Handle<PropertyCell> cell, 9848 static PropertyCellType UpdatedType(Handle<PropertyCell> cell,
9849 Handle<Object> value, 9849 Handle<Object> value,
9850 PropertyDetails details); 9850 PropertyDetails details);
9851 static Handle<Object> UpdateCell(Handle<NameDictionary> dictionary, int entry, 9851 static void UpdateCell(Handle<NameDictionary> dictionary, int entry,
9852 Handle<Object> value, 9852 Handle<Object> value, PropertyDetails details);
9853 PropertyDetails details);
9854 9853
9855 static Handle<PropertyCell> InvalidateEntry(Handle<NameDictionary> dictionary, 9854 static Handle<PropertyCell> InvalidateEntry(Handle<NameDictionary> dictionary,
9856 int entry); 9855 int entry);
9857 9856
9858 static void SetValueWithInvalidation(Handle<PropertyCell> cell, 9857 static void SetValueWithInvalidation(Handle<PropertyCell> cell,
9859 Handle<Object> new_value); 9858 Handle<Object> new_value);
9860 9859
9861 DECLARE_CAST(PropertyCell) 9860 DECLARE_CAST(PropertyCell)
9862 9861
9863 // Dispatched behavior. 9862 // Dispatched behavior.
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
11107 } else { 11106 } else {
11108 value &= ~(1 << bit_position); 11107 value &= ~(1 << bit_position);
11109 } 11108 }
11110 return value; 11109 return value;
11111 } 11110 }
11112 }; 11111 };
11113 11112
11114 } } // namespace v8::internal 11113 } } // namespace v8::internal
11115 11114
11116 #endif // V8_OBJECTS_H_ 11115 #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