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

Side by Side Diff: src/heap.h

Issue 2943002: Reimplement stack manipulations for LiveEdit (Closed)
Patch Set: follow codereview Created 10 years, 5 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/frames.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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 // self_reference. This allows generated code to reference its own Code 625 // self_reference. This allows generated code to reference its own Code
626 // object by containing this pointer. 626 // object by containing this pointer.
627 // Please note this function does not perform a garbage collection. 627 // Please note this function does not perform a garbage collection.
628 static Object* CreateCode(const CodeDesc& desc, 628 static Object* CreateCode(const CodeDesc& desc,
629 ZoneScopeInfo* sinfo, 629 ZoneScopeInfo* sinfo,
630 Code::Flags flags, 630 Code::Flags flags,
631 Handle<Object> self_reference); 631 Handle<Object> self_reference);
632 632
633 static Object* CopyCode(Code* code); 633 static Object* CopyCode(Code* code);
634 634
635 // Copy the code and scope info part of the code object, but insert 635 static Object* AddPatchToCode(Code* code, Code* patch);
636 // the provided data as the relocation information.
637 static Object* CopyCode(Code* code, Vector<byte> reloc_info);
638 636
639 // Finds the symbol for string in the symbol table. 637 // Finds the symbol for string in the symbol table.
640 // If not found, a new symbol is added to the table and returned. 638 // If not found, a new symbol is added to the table and returned.
641 // Returns Failure::RetryAfterGC(requested_bytes, space) if allocation 639 // Returns Failure::RetryAfterGC(requested_bytes, space) if allocation
642 // failed. 640 // failed.
643 // Please note this function does not perform a garbage collection. 641 // Please note this function does not perform a garbage collection.
644 static Object* LookupSymbol(Vector<const char> str); 642 static Object* LookupSymbol(Vector<const char> str);
645 static Object* LookupAsciiSymbol(const char* str) { 643 static Object* LookupAsciiSymbol(const char* str) {
646 return LookupSymbol(CStrVector(str)); 644 return LookupSymbol(CStrVector(str));
647 } 645 }
(...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after
1984 1982
1985 // To speed up scavenge collections new space string are kept 1983 // To speed up scavenge collections new space string are kept
1986 // separate from old space strings. 1984 // separate from old space strings.
1987 static List<Object*> new_space_strings_; 1985 static List<Object*> new_space_strings_;
1988 static List<Object*> old_space_strings_; 1986 static List<Object*> old_space_strings_;
1989 }; 1987 };
1990 1988
1991 } } // namespace v8::internal 1989 } } // namespace v8::internal
1992 1990
1993 #endif // V8_HEAP_H_ 1991 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698