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

Side by Side Diff: src/profiler/heap-snapshot-generator.cc

Issue 1230793002: [es6] silence access-check failure for well-known symbol properties (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ensure @@isConcatSpreadable is actually installed now that its in a separate list Created 5 years, 2 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/objects-inl.h ('k') | test/cctest/test-api.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/profiler/heap-snapshot-generator.h" 5 #include "src/profiler/heap-snapshot-generator.h"
6 6
7 #include "src/code-stubs.h" 7 #include "src/code-stubs.h"
8 #include "src/conversions.h" 8 #include "src/conversions.h"
9 #include "src/debug/debug.h" 9 #include "src/debug/debug.h"
10 #include "src/profiler/allocation-tracker.h" 10 #include "src/profiler/allocation-tracker.h"
(...skipping 2142 matching lines...) Expand 10 before | Expand all | Expand 10 after
2153 STRUCT_LIST(STRUCT_MAP_NAME) 2153 STRUCT_LIST(STRUCT_MAP_NAME)
2154 #undef STRUCT_MAP_NAME 2154 #undef STRUCT_MAP_NAME
2155 #define STRING_NAME(name, str) NAME_ENTRY(name) 2155 #define STRING_NAME(name, str) NAME_ENTRY(name)
2156 INTERNALIZED_STRING_LIST(STRING_NAME) 2156 INTERNALIZED_STRING_LIST(STRING_NAME)
2157 #undef STRING_NAME 2157 #undef STRING_NAME
2158 #define SYMBOL_NAME(name) NAME_ENTRY(name) 2158 #define SYMBOL_NAME(name) NAME_ENTRY(name)
2159 PRIVATE_SYMBOL_LIST(SYMBOL_NAME) 2159 PRIVATE_SYMBOL_LIST(SYMBOL_NAME)
2160 #undef SYMBOL_NAME 2160 #undef SYMBOL_NAME
2161 #define SYMBOL_NAME(name, description) NAME_ENTRY(name) 2161 #define SYMBOL_NAME(name, description) NAME_ENTRY(name)
2162 PUBLIC_SYMBOL_LIST(SYMBOL_NAME) 2162 PUBLIC_SYMBOL_LIST(SYMBOL_NAME)
2163 WELL_KNOWN_SYMBOL_LIST(SYMBOL_NAME)
2163 #undef SYMBOL_NAME 2164 #undef SYMBOL_NAME
2164 #undef NAME_ENTRY 2165 #undef NAME_ENTRY
2165 CHECK(!strong_gc_subroot_names_.is_empty()); 2166 CHECK(!strong_gc_subroot_names_.is_empty());
2166 } 2167 }
2167 return strong_gc_subroot_names_.GetTag(object); 2168 return strong_gc_subroot_names_.GetTag(object);
2168 } 2169 }
2169 2170
2170 2171
2171 void V8HeapExplorer::TagObject(Object* obj, const char* tag) { 2172 void V8HeapExplorer::TagObject(Object* obj, const char* tag) {
2172 if (IsEssentialObject(obj)) { 2173 if (IsEssentialObject(obj)) {
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after
3168 for (int i = 1; i < sorted_strings.length(); ++i) { 3169 for (int i = 1; i < sorted_strings.length(); ++i) {
3169 writer_->AddCharacter(','); 3170 writer_->AddCharacter(',');
3170 SerializeString(sorted_strings[i]); 3171 SerializeString(sorted_strings[i]);
3171 if (writer_->aborted()) return; 3172 if (writer_->aborted()) return;
3172 } 3173 }
3173 } 3174 }
3174 3175
3175 3176
3176 } // namespace internal 3177 } // namespace internal
3177 } // namespace v8 3178 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698