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

Side by Side Diff: src/isolate.cc

Issue 2777203007: [builtins] Introduce new TFC macro and auto-generate TFS descriptors (Closed)
Patch Set: Format 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
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 2697 matching lines...) Expand 10 before | Expand all | Expand 10 after
2708 // SetUp the object heap. 2708 // SetUp the object heap.
2709 DCHECK(!heap_.HasBeenSetUp()); 2709 DCHECK(!heap_.HasBeenSetUp());
2710 if (!heap_.SetUp()) { 2710 if (!heap_.SetUp()) {
2711 V8::FatalProcessOutOfMemory("heap setup"); 2711 V8::FatalProcessOutOfMemory("heap setup");
2712 return false; 2712 return false;
2713 } 2713 }
2714 2714
2715 code_aging_helper_ = new CodeAgingHelper(this); 2715 code_aging_helper_ = new CodeAgingHelper(this);
2716 2716
2717 // Initialize the interface descriptors ahead of time. 2717 // Initialize the interface descriptors ahead of time.
2718 #define INTERFACE_DESCRIPTOR(V) \ 2718 #define INTERFACE_DESCRIPTOR(Name, ...) \
2719 { V##Descriptor(this); } 2719 { Name##Descriptor(this); }
2720 INTERFACE_DESCRIPTOR_LIST(INTERFACE_DESCRIPTOR) 2720 INTERFACE_DESCRIPTOR_LIST(INTERFACE_DESCRIPTOR)
2721 #undef INTERFACE_DESCRIPTOR 2721 #undef INTERFACE_DESCRIPTOR
2722 2722
2723 deoptimizer_data_ = new DeoptimizerData(heap()->memory_allocator()); 2723 deoptimizer_data_ = new DeoptimizerData(heap()->memory_allocator());
2724 2724
2725 const bool create_heap_objects = (des == NULL); 2725 const bool create_heap_objects = (des == NULL);
2726 if (create_heap_objects && !heap_.CreateHeapObjects()) { 2726 if (create_heap_objects && !heap_.CreateHeapObjects()) {
2727 V8::FatalProcessOutOfMemory("heap object creation"); 2727 V8::FatalProcessOutOfMemory("heap object creation");
2728 return false; 2728 return false;
2729 } 2729 }
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
3731 // Then check whether this scope intercepts. 3731 // Then check whether this scope intercepts.
3732 if ((flag & intercept_mask_)) { 3732 if ((flag & intercept_mask_)) {
3733 intercepted_flags_ |= flag; 3733 intercepted_flags_ |= flag;
3734 return true; 3734 return true;
3735 } 3735 }
3736 return false; 3736 return false;
3737 } 3737 }
3738 3738
3739 } // namespace internal 3739 } // namespace internal
3740 } // namespace v8 3740 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698