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

Side by Side Diff: src/isolate.cc

Issue 2301883002: CallInterfaceDescriptor should use MachineType (Closed)
Patch Set: Remove unneeded zone in the isolate. Created 4 years, 3 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') | no next file » | 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 1918 matching lines...) Expand 10 before | Expand all | Expand 10 after
1929 stack_trace_for_uncaught_exceptions_options_(StackTrace::kOverview), 1929 stack_trace_for_uncaught_exceptions_options_(StackTrace::kOverview),
1930 keyed_lookup_cache_(NULL), 1930 keyed_lookup_cache_(NULL),
1931 context_slot_cache_(NULL), 1931 context_slot_cache_(NULL),
1932 descriptor_lookup_cache_(NULL), 1932 descriptor_lookup_cache_(NULL),
1933 handle_scope_implementer_(NULL), 1933 handle_scope_implementer_(NULL),
1934 unicode_cache_(NULL), 1934 unicode_cache_(NULL),
1935 allocator_(FLAG_trace_gc_object_stats 1935 allocator_(FLAG_trace_gc_object_stats
1936 ? new VerboseAccountingAllocator(&heap_, 256 * KB) 1936 ? new VerboseAccountingAllocator(&heap_, 256 * KB)
1937 : new base::AccountingAllocator()), 1937 : new base::AccountingAllocator()),
1938 runtime_zone_(new Zone(allocator_)), 1938 runtime_zone_(new Zone(allocator_)),
1939 interface_descriptor_zone_(new Zone(allocator_)),
1940 inner_pointer_to_code_cache_(NULL), 1939 inner_pointer_to_code_cache_(NULL),
1941 global_handles_(NULL), 1940 global_handles_(NULL),
1942 eternal_handles_(NULL), 1941 eternal_handles_(NULL),
1943 thread_manager_(NULL), 1942 thread_manager_(NULL),
1944 has_installed_extensions_(false), 1943 has_installed_extensions_(false),
1945 regexp_stack_(NULL), 1944 regexp_stack_(NULL),
1946 date_cache_(NULL), 1945 date_cache_(NULL),
1947 call_descriptor_data_(NULL), 1946 call_descriptor_data_(NULL),
1948 // TODO(bmeurer) Initialized lazily because it depends on flags; can 1947 // TODO(bmeurer) Initialized lazily because it depends on flags; can
1949 // be fixed once the default isolate cleanup is done. 1948 // be fixed once the default isolate cleanup is done.
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
2208 2207
2209 delete debug_; 2208 delete debug_;
2210 debug_ = NULL; 2209 debug_ = NULL;
2211 2210
2212 delete cancelable_task_manager_; 2211 delete cancelable_task_manager_;
2213 cancelable_task_manager_ = nullptr; 2212 cancelable_task_manager_ = nullptr;
2214 2213
2215 delete runtime_zone_; 2214 delete runtime_zone_;
2216 runtime_zone_ = nullptr; 2215 runtime_zone_ = nullptr;
2217 2216
2218 delete interface_descriptor_zone_;
2219 interface_descriptor_zone_ = nullptr;
2220
2221 delete allocator_; 2217 delete allocator_;
2222 allocator_ = nullptr; 2218 allocator_ = nullptr;
2223 2219
2224 #if USE_SIMULATOR 2220 #if USE_SIMULATOR
2225 Simulator::TearDown(simulator_i_cache_, simulator_redirection_); 2221 Simulator::TearDown(simulator_i_cache_, simulator_redirection_);
2226 simulator_i_cache_ = nullptr; 2222 simulator_i_cache_ = nullptr;
2227 simulator_redirection_ = nullptr; 2223 simulator_redirection_ = nullptr;
2228 #endif 2224 #endif
2229 } 2225 }
2230 2226
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after
3168 // Then check whether this scope intercepts. 3164 // Then check whether this scope intercepts.
3169 if ((flag & intercept_mask_)) { 3165 if ((flag & intercept_mask_)) {
3170 intercepted_flags_ |= flag; 3166 intercepted_flags_ |= flag;
3171 return true; 3167 return true;
3172 } 3168 }
3173 return false; 3169 return false;
3174 } 3170 }
3175 3171
3176 } // namespace internal 3172 } // namespace internal
3177 } // namespace v8 3173 } // namespace v8
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698