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

Side by Side Diff: regexp2000/src/heap.h

Issue 10942: Start IA32 implemenetation of regexp2k (Closed)
Patch Set: Addressed review comments Created 12 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 unified diff | Download patch
« no previous file with comments | « regexp2000/src/assembler-ia32-inl.h ('k') | regexp2000/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 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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 376
377 // Computes a single character string where the character has code. 377 // Computes a single character string where the character has code.
378 // A cache is used for ascii codes. 378 // A cache is used for ascii codes.
379 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation 379 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
380 // failed. Please note this does not perform a garbage collection. 380 // failed. Please note this does not perform a garbage collection.
381 static Object* LookupSingleCharacterStringFromCode(uint16_t code); 381 static Object* LookupSingleCharacterStringFromCode(uint16_t code);
382 382
383 // Allocate a byte array of the specified length 383 // Allocate a byte array of the specified length
384 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation 384 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
385 // failed. 385 // failed.
386 // Please not this does not perform a garbage collection. 386 // Please note this does not perform a garbage collection.
387 static Object* AllocateByteArray(int length, PretenureFlag pretenure);
388
389 // Allocate a non-tenured byte array of the specified length
390 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
391 // failed.
392 // Please note this does not perform a garbage collection.
387 static Object* AllocateByteArray(int length); 393 static Object* AllocateByteArray(int length);
388 394
389 // Allocates a fixed array initialized with undefined values 395 // Allocates a fixed array initialized with undefined values
390 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation 396 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
391 // failed. 397 // failed.
392 // Please note this does not perform a garbage collection. 398 // Please note this does not perform a garbage collection.
393 static Object* AllocateFixedArray(int length, PretenureFlag pretenure); 399 static Object* AllocateFixedArray(int length, PretenureFlag pretenure);
394 // Allocate uninitialized, non-tenured fixed array with length elements. 400 // Allocate uninitialized, non-tenured fixed array with length elements.
395 static Object* AllocateFixedArray(int length); 401 static Object* AllocateFixedArray(int length);
396 402
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 int marked_count_; 1259 int marked_count_;
1254 1260
1255 // The count from the end of the previous full GC. Will be zero if there 1261 // The count from the end of the previous full GC. Will be zero if there
1256 // was no previous full GC. 1262 // was no previous full GC.
1257 int previous_marked_count_; 1263 int previous_marked_count_;
1258 }; 1264 };
1259 1265
1260 } } // namespace v8::internal 1266 } } // namespace v8::internal
1261 1267
1262 #endif // V8_HEAP_H_ 1268 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « regexp2000/src/assembler-ia32-inl.h ('k') | regexp2000/src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698