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

Side by Side Diff: src/isolate.cc

Issue 1837513002: [es6] Add a flag to the Isolate that defines whether ES2015 tail call elimination is enabled or not. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: New changes Created 4 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/isolate.h ('k') | src/mips/builtins-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 1808 matching lines...) Expand 10 before | Expand all | Expand 10 after
1819 has_installed_extensions_(false), 1819 has_installed_extensions_(false),
1820 regexp_stack_(NULL), 1820 regexp_stack_(NULL),
1821 date_cache_(NULL), 1821 date_cache_(NULL),
1822 call_descriptor_data_(NULL), 1822 call_descriptor_data_(NULL),
1823 // TODO(bmeurer) Initialized lazily because it depends on flags; can 1823 // TODO(bmeurer) Initialized lazily because it depends on flags; can
1824 // be fixed once the default isolate cleanup is done. 1824 // be fixed once the default isolate cleanup is done.
1825 random_number_generator_(NULL), 1825 random_number_generator_(NULL),
1826 serializer_enabled_(enable_serializer), 1826 serializer_enabled_(enable_serializer),
1827 has_fatal_error_(false), 1827 has_fatal_error_(false),
1828 initialized_from_snapshot_(false), 1828 initialized_from_snapshot_(false),
1829 is_tail_call_elimination_enabled_(true),
1829 cpu_profiler_(NULL), 1830 cpu_profiler_(NULL),
1830 heap_profiler_(NULL), 1831 heap_profiler_(NULL),
1831 function_entry_hook_(NULL), 1832 function_entry_hook_(NULL),
1832 deferred_handles_head_(NULL), 1833 deferred_handles_head_(NULL),
1833 optimizing_compile_dispatcher_(NULL), 1834 optimizing_compile_dispatcher_(NULL),
1834 stress_deopt_count_(0), 1835 stress_deopt_count_(0),
1835 virtual_handler_register_(NULL), 1836 virtual_handler_register_(NULL),
1836 virtual_slot_register_(NULL), 1837 virtual_slot_register_(NULL),
1837 next_optimization_id_(0), 1838 next_optimization_id_(0),
1838 js_calls_from_api_counter_(0), 1839 js_calls_from_api_counter_(0),
(...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after
2975 // Then check whether this scope intercepts. 2976 // Then check whether this scope intercepts.
2976 if ((flag & intercept_mask_)) { 2977 if ((flag & intercept_mask_)) {
2977 intercepted_flags_ |= flag; 2978 intercepted_flags_ |= flag;
2978 return true; 2979 return true;
2979 } 2980 }
2980 return false; 2981 return false;
2981 } 2982 }
2982 2983
2983 } // namespace internal 2984 } // namespace internal
2984 } // namespace v8 2985 } // namespace v8
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698