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

Side by Side Diff: src/isolate.cc

Issue 2777203007: [builtins] Introduce new TFC macro and auto-generate TFS descriptors (Closed)
Patch Set: Rebase Created 3 years, 8 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/interface-descriptors.cc ('k') | src/mips/interface-descriptors-mips.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/isolate.h" 5 #include "src/isolate.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include <fstream> // NOLINT(readability/streams) 9 #include <fstream> // NOLINT(readability/streams)
10 #include <sstream> 10 #include <sstream>
(...skipping 2691 matching lines...) Expand 10 before | Expand all | Expand 10 after
2702 // SetUp the object heap. 2702 // SetUp the object heap.
2703 DCHECK(!heap_.HasBeenSetUp()); 2703 DCHECK(!heap_.HasBeenSetUp());
2704 if (!heap_.SetUp()) { 2704 if (!heap_.SetUp()) {
2705 V8::FatalProcessOutOfMemory("heap setup"); 2705 V8::FatalProcessOutOfMemory("heap setup");
2706 return false; 2706 return false;
2707 } 2707 }
2708 2708
2709 code_aging_helper_ = new CodeAgingHelper(this); 2709 code_aging_helper_ = new CodeAgingHelper(this);
2710 2710
2711 // Initialize the interface descriptors ahead of time. 2711 // Initialize the interface descriptors ahead of time.
2712 #define INTERFACE_DESCRIPTOR(V) \ 2712 #define INTERFACE_DESCRIPTOR(Name, ...) \
2713 { V##Descriptor(this); } 2713 { Name##Descriptor(this); }
2714 INTERFACE_DESCRIPTOR_LIST(INTERFACE_DESCRIPTOR) 2714 INTERFACE_DESCRIPTOR_LIST(INTERFACE_DESCRIPTOR)
2715 #undef INTERFACE_DESCRIPTOR 2715 #undef INTERFACE_DESCRIPTOR
2716 2716
2717 deoptimizer_data_ = new DeoptimizerData(heap()->memory_allocator()); 2717 deoptimizer_data_ = new DeoptimizerData(heap()->memory_allocator());
2718 2718
2719 const bool create_heap_objects = (des == NULL); 2719 const bool create_heap_objects = (des == NULL);
2720 if (create_heap_objects && !heap_.CreateHeapObjects()) { 2720 if (create_heap_objects && !heap_.CreateHeapObjects()) {
2721 V8::FatalProcessOutOfMemory("heap object creation"); 2721 V8::FatalProcessOutOfMemory("heap object creation");
2722 return false; 2722 return false;
2723 } 2723 }
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
3720 // Then check whether this scope intercepts. 3720 // Then check whether this scope intercepts.
3721 if ((flag & intercept_mask_)) { 3721 if ((flag & intercept_mask_)) {
3722 intercepted_flags_ |= flag; 3722 intercepted_flags_ |= flag;
3723 return true; 3723 return true;
3724 } 3724 }
3725 return false; 3725 return false;
3726 } 3726 }
3727 3727
3728 } // namespace internal 3728 } // namespace internal
3729 } // namespace v8 3729 } // namespace v8
OLDNEW
« no previous file with comments | « src/interface-descriptors.cc ('k') | src/mips/interface-descriptors-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698