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

Side by Side Diff: src/property.cc

Issue 6685073: Remember and reuse derived map for external arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « src/property.h ('k') | src/runtime.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 case NORMAL: 45 case NORMAL:
46 PrintF(out, " -type = normal\n"); 46 PrintF(out, " -type = normal\n");
47 PrintF(out, " -entry = %d", GetDictionaryEntry()); 47 PrintF(out, " -entry = %d", GetDictionaryEntry());
48 break; 48 break;
49 case MAP_TRANSITION: 49 case MAP_TRANSITION:
50 PrintF(out, " -type = map transition\n"); 50 PrintF(out, " -type = map transition\n");
51 PrintF(out, " -map:\n"); 51 PrintF(out, " -map:\n");
52 GetTransitionMap()->Print(out); 52 GetTransitionMap()->Print(out);
53 PrintF(out, "\n"); 53 PrintF(out, "\n");
54 break; 54 break;
55 case EXTERNAL_ARRAY_TRANSITION:
56 PrintF(out, " -type = external array transition\n");
57 PrintF(out, " -map:\n");
58 GetTransitionMap()->Print(out);
59 PrintF(out, "\n");
60 break;
55 case CONSTANT_FUNCTION: 61 case CONSTANT_FUNCTION:
56 PrintF(out, " -type = constant function\n"); 62 PrintF(out, " -type = constant function\n");
57 PrintF(out, " -function:\n"); 63 PrintF(out, " -function:\n");
58 GetConstantFunction()->Print(out); 64 GetConstantFunction()->Print(out);
59 PrintF(out, "\n"); 65 PrintF(out, "\n");
60 break; 66 break;
61 case FIELD: 67 case FIELD:
62 PrintF(out, " -type = field\n"); 68 PrintF(out, " -type = field\n");
63 PrintF(out, " -index = %d", GetFieldIndex()); 69 PrintF(out, " -index = %d", GetFieldIndex());
64 PrintF(out, "\n"); 70 PrintF(out, "\n");
(...skipping 22 matching lines...) Expand all
87 PrintF(out, " @ "); 93 PrintF(out, " @ ");
88 GetValue()->ShortPrint(out); 94 GetValue()->ShortPrint(out);
89 PrintF(out, " %d\n", GetDetails().index()); 95 PrintF(out, " %d\n", GetDetails().index());
90 } 96 }
91 97
92 98
93 #endif 99 #endif
94 100
95 101
96 } } // namespace v8::internal 102 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/property.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698