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

Side by Side Diff: src/isolate.cc

Issue 7621064: Fix another handful of memory leaks (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/spaces.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 delete logger_; 1566 delete logger_;
1567 logger_ = NULL; 1567 logger_ = NULL;
1568 1568
1569 delete counters_; 1569 delete counters_;
1570 counters_ = NULL; 1570 counters_ = NULL;
1571 1571
1572 delete handle_scope_implementer_; 1572 delete handle_scope_implementer_;
1573 handle_scope_implementer_ = NULL; 1573 handle_scope_implementer_ = NULL;
1574 delete break_access_; 1574 delete break_access_;
1575 break_access_ = NULL; 1575 break_access_ = NULL;
1576 delete debugger_access_;
1577 debugger_access_ = NULL;
1576 1578
1577 delete compilation_cache_; 1579 delete compilation_cache_;
1578 compilation_cache_ = NULL; 1580 compilation_cache_ = NULL;
1579 delete bootstrapper_; 1581 delete bootstrapper_;
1580 bootstrapper_ = NULL; 1582 bootstrapper_ = NULL;
1581 delete pc_to_code_cache_; 1583 delete pc_to_code_cache_;
1582 pc_to_code_cache_ = NULL; 1584 pc_to_code_cache_ = NULL;
1583 delete write_input_buffer_; 1585 delete write_input_buffer_;
1584 write_input_buffer_ = NULL; 1586 write_input_buffer_ = NULL;
1585 1587
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
1875 1877
1876 #ifdef DEBUG 1878 #ifdef DEBUG
1877 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 1879 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
1878 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 1880 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
1879 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 1881 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
1880 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 1882 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
1881 #undef ISOLATE_FIELD_OFFSET 1883 #undef ISOLATE_FIELD_OFFSET
1882 #endif 1884 #endif
1883 1885
1884 } } // namespace v8::internal 1886 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/spaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698