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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « regexp2000/src/assembler-ia32-inl.h ('k') | regexp2000/src/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: regexp2000/src/heap.h
diff --git a/regexp2000/src/heap.h b/regexp2000/src/heap.h
index d89caf93d1eee701cf1d2f780af24dad69808cfe..bc288c6f4e3dcb2c2f7032ada39396b0f001aac9 100644
--- a/regexp2000/src/heap.h
+++ b/regexp2000/src/heap.h
@@ -383,7 +383,13 @@ class Heap : public AllStatic {
// Allocate a byte array of the specified length
// Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
// failed.
- // Please not this does not perform a garbage collection.
+ // Please note this does not perform a garbage collection.
+ static Object* AllocateByteArray(int length, PretenureFlag pretenure);
+
+ // Allocate a non-tenured byte array of the specified length
+ // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
+ // failed.
+ // Please note this does not perform a garbage collection.
static Object* AllocateByteArray(int length);
// Allocates a fixed array initialized with undefined values
« 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