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

Side by Side Diff: src/factory.h

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: address comments Created 4 years, 8 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/debug/debug-scopes.cc ('k') | src/factory.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_FACTORY_H_ 5 #ifndef V8_FACTORY_H_
6 #define V8_FACTORY_H_ 6 #define V8_FACTORY_H_
7 7
8 #include "src/isolate.h" 8 #include "src/isolate.h"
9 #include "src/messages.h" 9 #include "src/messages.h"
10 #include "src/type-feedback-vector.h" 10 #include "src/type-feedback-vector.h"
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 Handle<Context> NewCatchContext(Handle<JSFunction> function, 249 Handle<Context> NewCatchContext(Handle<JSFunction> function,
250 Handle<Context> previous, 250 Handle<Context> previous,
251 Handle<String> name, 251 Handle<String> name,
252 Handle<Object> thrown_object); 252 Handle<Object> thrown_object);
253 253
254 // Create a 'with' context. 254 // Create a 'with' context.
255 Handle<Context> NewWithContext(Handle<JSFunction> function, 255 Handle<Context> NewWithContext(Handle<JSFunction> function,
256 Handle<Context> previous, 256 Handle<Context> previous,
257 Handle<JSReceiver> extension); 257 Handle<JSReceiver> extension);
258 258
259 Handle<Context> NewDebugEvaluateContext(Handle<Context> previous,
260 Handle<JSReceiver> extension,
261 Handle<Context> wrapped,
262 Handle<StringSet> whitelist);
263
259 // Create a block context. 264 // Create a block context.
260 Handle<Context> NewBlockContext(Handle<JSFunction> function, 265 Handle<Context> NewBlockContext(Handle<JSFunction> function,
261 Handle<Context> previous, 266 Handle<Context> previous,
262 Handle<ScopeInfo> scope_info); 267 Handle<ScopeInfo> scope_info);
263 268
264 // Allocate a new struct. The struct is pretenured (allocated directly in 269 // Allocate a new struct. The struct is pretenured (allocated directly in
265 // the old generation). 270 // the old generation).
266 Handle<Struct> NewStruct(InstanceType type); 271 Handle<Struct> NewStruct(InstanceType type);
267 272
268 Handle<CodeCache> NewCodeCache(); 273 Handle<CodeCache> NewCodeCache();
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 709
705 // Create a JSArray with no elements and no length. 710 // Create a JSArray with no elements and no length.
706 Handle<JSArray> NewJSArray(ElementsKind elements_kind, 711 Handle<JSArray> NewJSArray(ElementsKind elements_kind,
707 PretenureFlag pretenure = NOT_TENURED); 712 PretenureFlag pretenure = NOT_TENURED);
708 }; 713 };
709 714
710 } // namespace internal 715 } // namespace internal
711 } // namespace v8 716 } // namespace v8
712 717
713 #endif // V8_FACTORY_H_ 718 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/debug/debug-scopes.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698