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

Side by Side Diff: src/factory.cc

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.h ('k') | src/heap.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 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 Handle<Object> self_ref) { 553 Handle<Object> self_ref) {
554 CALL_HEAP_FUNCTION(Heap::CreateCode(desc, sinfo, flags, self_ref), Code); 554 CALL_HEAP_FUNCTION(Heap::CreateCode(desc, sinfo, flags, self_ref), Code);
555 } 555 }
556 556
557 557
558 Handle<Code> Factory::CopyCode(Handle<Code> code) { 558 Handle<Code> Factory::CopyCode(Handle<Code> code) {
559 CALL_HEAP_FUNCTION(Heap::CopyCode(*code), Code); 559 CALL_HEAP_FUNCTION(Heap::CopyCode(*code), Code);
560 } 560 }
561 561
562 562
563 Handle<Code> Factory::CopyCode(Handle<Code> code, Vector<byte> reloc_info) {
564 CALL_HEAP_FUNCTION(Heap::CopyCode(*code, reloc_info), Code);
565 }
566
567
563 static inline Object* DoCopyInsert(DescriptorArray* array, 568 static inline Object* DoCopyInsert(DescriptorArray* array,
564 String* key, 569 String* key,
565 Object* value, 570 Object* value,
566 PropertyAttributes attributes) { 571 PropertyAttributes attributes) {
567 CallbacksDescriptor desc(key, value, attributes); 572 CallbacksDescriptor desc(key, value, attributes);
568 Object* obj = array->CopyInsert(&desc, REMOVE_TRANSITIONS); 573 Object* obj = array->CopyInsert(&desc, REMOVE_TRANSITIONS);
569 return obj; 574 return obj;
570 } 575 }
571 576
572 577
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 Execution::ConfigureInstance(instance, 962 Execution::ConfigureInstance(instance,
958 instance_template, 963 instance_template,
959 pending_exception); 964 pending_exception);
960 } else { 965 } else {
961 *pending_exception = false; 966 *pending_exception = false;
962 } 967 }
963 } 968 }
964 969
965 970
966 } } // namespace v8::internal 971 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/factory.h ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698