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

Side by Side Diff: src/isolate.cc

Issue 113343003: Remove the last remnants of the TranscendentalCache. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « src/isolate.h ('k') | src/mips/code-stubs-mips.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after
1525 counters_(NULL), 1525 counters_(NULL),
1526 code_range_(NULL), 1526 code_range_(NULL),
1527 debugger_initialized_(false), 1527 debugger_initialized_(false),
1528 logger_(NULL), 1528 logger_(NULL),
1529 stats_table_(NULL), 1529 stats_table_(NULL),
1530 stub_cache_(NULL), 1530 stub_cache_(NULL),
1531 deoptimizer_data_(NULL), 1531 deoptimizer_data_(NULL),
1532 capture_stack_trace_for_uncaught_exceptions_(false), 1532 capture_stack_trace_for_uncaught_exceptions_(false),
1533 stack_trace_for_uncaught_exceptions_frame_limit_(0), 1533 stack_trace_for_uncaught_exceptions_frame_limit_(0),
1534 stack_trace_for_uncaught_exceptions_options_(StackTrace::kOverview), 1534 stack_trace_for_uncaught_exceptions_options_(StackTrace::kOverview),
1535 transcendental_cache_(NULL),
1536 memory_allocator_(NULL), 1535 memory_allocator_(NULL),
1537 keyed_lookup_cache_(NULL), 1536 keyed_lookup_cache_(NULL),
1538 context_slot_cache_(NULL), 1537 context_slot_cache_(NULL),
1539 descriptor_lookup_cache_(NULL), 1538 descriptor_lookup_cache_(NULL),
1540 handle_scope_implementer_(NULL), 1539 handle_scope_implementer_(NULL),
1541 unicode_cache_(NULL), 1540 unicode_cache_(NULL),
1542 runtime_zone_(this), 1541 runtime_zone_(this),
1543 inner_pointer_to_code_cache_(NULL), 1542 inner_pointer_to_code_cache_(NULL),
1544 write_iterator_(NULL), 1543 write_iterator_(NULL),
1545 global_handles_(NULL), 1544 global_handles_(NULL),
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
1762 delete regexp_stack_; 1761 delete regexp_stack_;
1763 regexp_stack_ = NULL; 1762 regexp_stack_ = NULL;
1764 1763
1765 delete descriptor_lookup_cache_; 1764 delete descriptor_lookup_cache_;
1766 descriptor_lookup_cache_ = NULL; 1765 descriptor_lookup_cache_ = NULL;
1767 delete context_slot_cache_; 1766 delete context_slot_cache_;
1768 context_slot_cache_ = NULL; 1767 context_slot_cache_ = NULL;
1769 delete keyed_lookup_cache_; 1768 delete keyed_lookup_cache_;
1770 keyed_lookup_cache_ = NULL; 1769 keyed_lookup_cache_ = NULL;
1771 1770
1772 delete transcendental_cache_;
1773 transcendental_cache_ = NULL;
1774 delete stub_cache_; 1771 delete stub_cache_;
1775 stub_cache_ = NULL; 1772 stub_cache_ = NULL;
1776 delete stats_table_; 1773 delete stats_table_;
1777 stats_table_ = NULL; 1774 stats_table_ = NULL;
1778 1775
1779 delete logger_; 1776 delete logger_;
1780 logger_ = NULL; 1777 logger_ = NULL;
1781 1778
1782 delete counters_; 1779 delete counters_;
1783 counters_ = NULL; 1780 counters_ = NULL;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1928 1925
1929 #define ASSIGN_ELEMENT(CamelName, hacker_name) \ 1926 #define ASSIGN_ELEMENT(CamelName, hacker_name) \
1930 isolate_addresses_[Isolate::k##CamelName##Address] = \ 1927 isolate_addresses_[Isolate::k##CamelName##Address] = \
1931 reinterpret_cast<Address>(hacker_name##_address()); 1928 reinterpret_cast<Address>(hacker_name##_address());
1932 FOR_EACH_ISOLATE_ADDRESS_NAME(ASSIGN_ELEMENT) 1929 FOR_EACH_ISOLATE_ADDRESS_NAME(ASSIGN_ELEMENT)
1933 #undef ASSIGN_ELEMENT 1930 #undef ASSIGN_ELEMENT
1934 1931
1935 string_tracker_ = new StringTracker(); 1932 string_tracker_ = new StringTracker();
1936 string_tracker_->isolate_ = this; 1933 string_tracker_->isolate_ = this;
1937 compilation_cache_ = new CompilationCache(this); 1934 compilation_cache_ = new CompilationCache(this);
1938 transcendental_cache_ = new TranscendentalCache(this);
1939 keyed_lookup_cache_ = new KeyedLookupCache(); 1935 keyed_lookup_cache_ = new KeyedLookupCache();
1940 context_slot_cache_ = new ContextSlotCache(); 1936 context_slot_cache_ = new ContextSlotCache();
1941 descriptor_lookup_cache_ = new DescriptorLookupCache(); 1937 descriptor_lookup_cache_ = new DescriptorLookupCache();
1942 unicode_cache_ = new UnicodeCache(); 1938 unicode_cache_ = new UnicodeCache();
1943 inner_pointer_to_code_cache_ = new InnerPointerToCodeCache(this); 1939 inner_pointer_to_code_cache_ = new InnerPointerToCodeCache(this);
1944 write_iterator_ = new ConsStringIteratorOp(); 1940 write_iterator_ = new ConsStringIteratorOp();
1945 global_handles_ = new GlobalHandles(this); 1941 global_handles_ = new GlobalHandles(this);
1946 eternal_handles_ = new EternalHandles(); 1942 eternal_handles_ = new EternalHandles();
1947 bootstrapper_ = new Bootstrapper(this); 1943 bootstrapper_ = new Bootstrapper(this);
1948 handle_scope_implementer_ = new HandleScopeImplementer(this); 1944 handle_scope_implementer_ = new HandleScopeImplementer(this);
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
2296 2292
2297 #ifdef DEBUG 2293 #ifdef DEBUG
2298 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2294 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2299 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2295 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2300 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2296 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2301 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2297 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2302 #undef ISOLATE_FIELD_OFFSET 2298 #undef ISOLATE_FIELD_OFFSET
2303 #endif 2299 #endif
2304 2300
2305 } } // namespace v8::internal 2301 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/mips/code-stubs-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698