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

Side by Side Diff: src/heap.h

Issue 7795055: Make integer indexed properties ("elements") work for proxies. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Oops. Created 9 years, 3 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/factory.cc ('k') | src/heap.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 SYMBOL_LIST(SYMBOL_INDEX_DECLARATION) 1193 SYMBOL_LIST(SYMBOL_INDEX_DECLARATION)
1194 #undef SYMBOL_DECLARATION 1194 #undef SYMBOL_DECLARATION
1195 1195
1196 kSymbolTableRootIndex, 1196 kSymbolTableRootIndex,
1197 kStrongRootListLength = kSymbolTableRootIndex, 1197 kStrongRootListLength = kSymbolTableRootIndex,
1198 kRootListLength 1198 kRootListLength
1199 }; 1199 };
1200 1200
1201 MUST_USE_RESULT MaybeObject* NumberToString( 1201 MUST_USE_RESULT MaybeObject* NumberToString(
1202 Object* number, bool check_number_string_cache = true); 1202 Object* number, bool check_number_string_cache = true);
1203 MUST_USE_RESULT MaybeObject* Uint32ToString(
1204 uint32_t value, bool check_number_string_cache = true);
1203 1205
1204 Map* MapForExternalArrayType(ExternalArrayType array_type); 1206 Map* MapForExternalArrayType(ExternalArrayType array_type);
1205 RootListIndex RootIndexForExternalArrayType( 1207 RootListIndex RootIndexForExternalArrayType(
1206 ExternalArrayType array_type); 1208 ExternalArrayType array_type);
1207 1209
1208 void RecordStats(HeapStats* stats, bool take_snapshot = false); 1210 void RecordStats(HeapStats* stats, bool take_snapshot = false);
1209 1211
1210 // Copy block of memory from src to dst. Size of block should be aligned 1212 // Copy block of memory from src to dst. Size of block should be aligned
1211 // by pointer size. 1213 // by pointer size.
1212 static inline void CopyBlock(Address dst, Address src, int byte_size); 1214 static inline void CopyBlock(Address dst, Address src, int byte_size);
(...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
2315 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2317 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2316 }; 2318 };
2317 #endif // DEBUG || LIVE_OBJECT_LIST 2319 #endif // DEBUG || LIVE_OBJECT_LIST
2318 2320
2319 2321
2320 } } // namespace v8::internal 2322 } } // namespace v8::internal
2321 2323
2322 #undef HEAP 2324 #undef HEAP
2323 2325
2324 #endif // V8_HEAP_H_ 2326 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698