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

Unified Diff: src/objects.h

Issue 715313003: Avoid fast short-cut in Map::GeneralizeRepresentation() for literals with non-simple transitions. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/json-parser.h ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index aba2cc923f5b82fa2cb00bb56c580d66a9c3ff56..e177cb56110ed3a16571755e4ad4badc9bdc1d24 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -5825,8 +5825,8 @@ class Map: public HeapObject {
Handle<HeapType> type1,
Handle<HeapType> type2,
Isolate* isolate);
- static void GeneralizeFieldType(Handle<Map> map,
- int modify_index,
+ static void GeneralizeFieldType(Handle<Map> map, int modify_index,
+ Representation new_representation,
Handle<HeapType> new_field_type);
static Handle<Map> GeneralizeRepresentation(
Handle<Map> map,
@@ -6377,6 +6377,7 @@ class Map: public HeapObject {
Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors);
void UpdateFieldType(int descriptor_number, Handle<Name> name,
+ Representation new_representation,
Handle<HeapType> new_type);
void PrintGeneralization(FILE* file,
« no previous file with comments | « src/json-parser.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698