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

Side by Side Diff: src/heap/heap.cc

Issue 1834633003: [debugger] allow debug-evaluate to change stack and context values. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
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/heap/heap.h" 5 #include "src/heap/heap.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/ast/scopeinfo.h" 9 #include "src/ast/scopeinfo.h"
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 2386 matching lines...) Expand 10 before | Expand all | Expand 10 after
2397 if (!AllocateMap(entry.type, entry.size).To(&map)) return false; 2397 if (!AllocateMap(entry.type, entry.size).To(&map)) return false;
2398 roots_[entry.index] = map; 2398 roots_[entry.index] = map;
2399 } 2399 }
2400 2400
2401 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, hash_table) 2401 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, hash_table)
2402 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, ordered_hash_table) 2402 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, ordered_hash_table)
2403 2403
2404 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, function_context) 2404 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, function_context)
2405 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, catch_context) 2405 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, catch_context)
2406 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, with_context) 2406 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, with_context)
2407 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, debug_evaluate_context)
2407 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, block_context) 2408 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, block_context)
2408 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, module_context) 2409 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, module_context)
2409 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, script_context) 2410 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, script_context)
2410 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, script_context_table) 2411 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, script_context_table)
2411 2412
2412 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, native_context) 2413 ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, native_context)
2413 native_context_map()->set_dictionary_map(true); 2414 native_context_map()->set_dictionary_map(true);
2414 native_context_map()->set_visitor_id( 2415 native_context_map()->set_visitor_id(
2415 StaticVisitorBase::kVisitNativeContext); 2416 StaticVisitorBase::kVisitNativeContext);
2416 2417
(...skipping 4056 matching lines...) Expand 10 before | Expand all | Expand 10 after
6473 } 6474 }
6474 6475
6475 6476
6476 // static 6477 // static
6477 int Heap::GetStaticVisitorIdForMap(Map* map) { 6478 int Heap::GetStaticVisitorIdForMap(Map* map) {
6478 return StaticVisitorBase::GetVisitorId(map); 6479 return StaticVisitorBase::GetVisitorId(map);
6479 } 6480 }
6480 6481
6481 } // namespace internal 6482 } // namespace internal
6482 } // namespace v8 6483 } // namespace v8
OLDNEW
« src/factory.cc ('K') | « src/heap/heap.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698