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

Side by Side Diff: src/factory.cc

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/factory.h ('k') | src/frames.h » ('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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 Handle<Object> self_ref) { 546 Handle<Object> self_ref) {
547 CALL_HEAP_FUNCTION(Heap::CreateCode(desc, sinfo, flags, self_ref), Code); 547 CALL_HEAP_FUNCTION(Heap::CreateCode(desc, sinfo, flags, self_ref), Code);
548 } 548 }
549 549
550 550
551 Handle<Code> Factory::CopyCode(Handle<Code> code) { 551 Handle<Code> Factory::CopyCode(Handle<Code> code) {
552 CALL_HEAP_FUNCTION(Heap::CopyCode(*code), Code); 552 CALL_HEAP_FUNCTION(Heap::CopyCode(*code), Code);
553 } 553 }
554 554
555 555
556 Handle<Code> Factory::CopyCode(Handle<Code> code, Vector<byte> reloc_info) { 556 Handle<Code> Factory::AddPatchToCode(Handle<Code> code, Handle<Code> patch) {
557 CALL_HEAP_FUNCTION(Heap::CopyCode(*code, reloc_info), Code); 557 CALL_HEAP_FUNCTION(Heap::AddPatchToCode(*code, *patch), Code);
558 } 558 }
559 559
560 560
561
561 static inline Object* DoCopyInsert(DescriptorArray* array, 562 static inline Object* DoCopyInsert(DescriptorArray* array,
562 String* key, 563 String* key,
563 Object* value, 564 Object* value,
564 PropertyAttributes attributes) { 565 PropertyAttributes attributes) {
565 CallbacksDescriptor desc(key, value, attributes); 566 CallbacksDescriptor desc(key, value, attributes);
566 Object* obj = array->CopyInsert(&desc, REMOVE_TRANSITIONS); 567 Object* obj = array->CopyInsert(&desc, REMOVE_TRANSITIONS);
567 return obj; 568 return obj;
568 } 569 }
569 570
570 571
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 Execution::ConfigureInstance(instance, 990 Execution::ConfigureInstance(instance,
990 instance_template, 991 instance_template,
991 pending_exception); 992 pending_exception);
992 } else { 993 } else {
993 *pending_exception = false; 994 *pending_exception = false;
994 } 995 }
995 } 996 }
996 997
997 998
998 } } // namespace v8::internal 999 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/factory.h ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698