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

Side by Side Diff: src/heap.h

Issue 243051: the idea is that often times in code, you will see something like this:... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 2 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') | src/parser.cc » ('J')
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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 // Allocates a new SharedFunctionInfo object. 547 // Allocates a new SharedFunctionInfo object.
548 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation 548 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
549 // failed. 549 // failed.
550 // Please note this does not perform a garbage collection. 550 // Please note this does not perform a garbage collection.
551 static Object* AllocateSharedFunctionInfo(Object* name); 551 static Object* AllocateSharedFunctionInfo(Object* name);
552 552
553 // Allocates a new cons string object. 553 // Allocates a new cons string object.
554 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation 554 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
555 // failed. 555 // failed.
556 // Please note this does not perform a garbage collection. 556 // Please note this does not perform a garbage collection.
557 static Object* AllocateConsString(String* first, String* second); 557 static Object* AllocateConsString(String* first,
558 String* second,
559 PretenureFlag pretenure = NOT_TENURED);
558 560
559 // Allocates a new sliced string object which is a slice of an underlying 561 // Allocates a new sliced string object which is a slice of an underlying
560 // string buffer stretching from the index start (inclusive) to the index 562 // string buffer stretching from the index start (inclusive) to the index
561 // end (exclusive). 563 // end (exclusive).
562 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation 564 // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
563 // failed. 565 // failed.
564 // Please note this does not perform a garbage collection. 566 // Please note this does not perform a garbage collection.
565 static Object* AllocateSlicedString(String* buffer, 567 static Object* AllocateSlicedString(String* buffer,
566 int start, 568 int start,
567 int end); 569 int end);
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1591 } 1593 }
1592 static TranscendentalCache* caches_[kNumberOfCaches]; 1594 static TranscendentalCache* caches_[kNumberOfCaches];
1593 Element elements_[kCacheSize]; 1595 Element elements_[kCacheSize];
1594 Type type_; 1596 Type type_;
1595 }; 1597 };
1596 1598
1597 1599
1598 } } // namespace v8::internal 1600 } } // namespace v8::internal
1599 1601
1600 #endif // V8_HEAP_H_ 1602 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/heap.cc » ('j') | src/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698