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

Side by Side Diff: src/api.cc

Issue 1016803002: Remove PropertyCell space (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 | « include/v8.h ('k') | src/arm/lithium-arm.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 // 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/api.h" 5 #include "src/api.h"
6 6
7 #include <string.h> // For memcpy, strlen. 7 #include <string.h> // For memcpy, strlen.
8 #ifdef V8_USE_ADDRESS_SANITIZER 8 #ifdef V8_USE_ADDRESS_SANITIZER
9 #include <sanitizer/asan_interface.h> 9 #include <sanitizer/asan_interface.h>
10 #endif // V8_USE_ADDRESS_SANITIZER 10 #endif // V8_USE_ADDRESS_SANITIZER
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 intptr_t code_space_capacity; 242 intptr_t code_space_capacity;
243 heap_stats.code_space_capacity = &code_space_capacity; 243 heap_stats.code_space_capacity = &code_space_capacity;
244 intptr_t map_space_size; 244 intptr_t map_space_size;
245 heap_stats.map_space_size = &map_space_size; 245 heap_stats.map_space_size = &map_space_size;
246 intptr_t map_space_capacity; 246 intptr_t map_space_capacity;
247 heap_stats.map_space_capacity = &map_space_capacity; 247 heap_stats.map_space_capacity = &map_space_capacity;
248 intptr_t cell_space_size; 248 intptr_t cell_space_size;
249 heap_stats.cell_space_size = &cell_space_size; 249 heap_stats.cell_space_size = &cell_space_size;
250 intptr_t cell_space_capacity; 250 intptr_t cell_space_capacity;
251 heap_stats.cell_space_capacity = &cell_space_capacity; 251 heap_stats.cell_space_capacity = &cell_space_capacity;
252 intptr_t property_cell_space_size;
253 heap_stats.property_cell_space_size = &property_cell_space_size;
254 intptr_t property_cell_space_capacity;
255 heap_stats.property_cell_space_capacity = &property_cell_space_capacity;
256 intptr_t lo_space_size; 252 intptr_t lo_space_size;
257 heap_stats.lo_space_size = &lo_space_size; 253 heap_stats.lo_space_size = &lo_space_size;
258 int global_handle_count; 254 int global_handle_count;
259 heap_stats.global_handle_count = &global_handle_count; 255 heap_stats.global_handle_count = &global_handle_count;
260 int weak_global_handle_count; 256 int weak_global_handle_count;
261 heap_stats.weak_global_handle_count = &weak_global_handle_count; 257 heap_stats.weak_global_handle_count = &weak_global_handle_count;
262 int pending_global_handle_count; 258 int pending_global_handle_count;
263 heap_stats.pending_global_handle_count = &pending_global_handle_count; 259 heap_stats.pending_global_handle_count = &pending_global_handle_count;
264 int near_death_global_handle_count; 260 int near_death_global_handle_count;
265 heap_stats.near_death_global_handle_count = &near_death_global_handle_count; 261 heap_stats.near_death_global_handle_count = &near_death_global_handle_count;
(...skipping 7759 matching lines...) Expand 10 before | Expand all | Expand 10 after
8025 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate()); 8021 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate());
8026 Address callback_address = 8022 Address callback_address =
8027 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); 8023 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback));
8028 VMState<EXTERNAL> state(isolate); 8024 VMState<EXTERNAL> state(isolate);
8029 ExternalCallbackScope call_scope(isolate, callback_address); 8025 ExternalCallbackScope call_scope(isolate, callback_address);
8030 callback(info); 8026 callback(info);
8031 } 8027 }
8032 8028
8033 8029
8034 } } // namespace v8::internal 8030 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/arm/lithium-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698