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

Side by Side Diff: src/heap.h

Issue 914003: LiveEdit: patch positions in function (Closed)
Patch Set: merge Created 10 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
« 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 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 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 // failed. On success, the pointer to the Code object is stored in the 605 // failed. On success, the pointer to the Code object is stored in the
606 // self_reference. This allows generated code to reference its own Code 606 // self_reference. This allows generated code to reference its own Code
607 // object by containing this pointer. 607 // object by containing this pointer.
608 // Please note this function does not perform a garbage collection. 608 // Please note this function does not perform a garbage collection.
609 static Object* CreateCode(const CodeDesc& desc, 609 static Object* CreateCode(const CodeDesc& desc,
610 ZoneScopeInfo* sinfo, 610 ZoneScopeInfo* sinfo,
611 Code::Flags flags, 611 Code::Flags flags,
612 Handle<Object> self_reference); 612 Handle<Object> self_reference);
613 613
614 static Object* CopyCode(Code* code); 614 static Object* CopyCode(Code* code);
615
616 // Copy the code and scope info part of the code object, but insert
617 // the provided data as the relocation information.
618 static Object* CopyCode(Code* code, Vector<byte> reloc_info);
619
615 // Finds the symbol for string in the symbol table. 620 // Finds the symbol for string in the symbol table.
616 // If not found, a new symbol is added to the table and returned. 621 // If not found, a new symbol is added to the table and returned.
617 // Returns Failure::RetryAfterGC(requested_bytes, space) if allocation 622 // Returns Failure::RetryAfterGC(requested_bytes, space) if allocation
618 // failed. 623 // failed.
619 // Please note this function does not perform a garbage collection. 624 // Please note this function does not perform a garbage collection.
620 static Object* LookupSymbol(Vector<const char> str); 625 static Object* LookupSymbol(Vector<const char> str);
621 static Object* LookupAsciiSymbol(const char* str) { 626 static Object* LookupAsciiSymbol(const char* str) {
622 return LookupSymbol(CStrVector(str)); 627 return LookupSymbol(CStrVector(str));
623 } 628 }
624 static Object* LookupSymbol(String* str); 629 static Object* LookupSymbol(String* str);
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1741 1746
1742 // To speed up scavenge collections new space string are kept 1747 // To speed up scavenge collections new space string are kept
1743 // separate from old space strings. 1748 // separate from old space strings.
1744 static List<Object*> new_space_strings_; 1749 static List<Object*> new_space_strings_;
1745 static List<Object*> old_space_strings_; 1750 static List<Object*> old_space_strings_;
1746 }; 1751 };
1747 1752
1748 } } // namespace v8::internal 1753 } } // namespace v8::internal
1749 1754
1750 #endif // V8_HEAP_H_ 1755 #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