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

Side by Side Diff: src/factory.h

Issue 1859033002: [debugger] ScopeIterator should unwrap debug-evaluate contexts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 387
388 Handle<JSObject> NewArgumentsObject(Handle<JSFunction> callee, int length); 388 Handle<JSObject> NewArgumentsObject(Handle<JSFunction> callee, int length);
389 389
390 // JS objects are pretenured when allocated by the bootstrapper and 390 // JS objects are pretenured when allocated by the bootstrapper and
391 // runtime. 391 // runtime.
392 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor, 392 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor,
393 PretenureFlag pretenure = NOT_TENURED); 393 PretenureFlag pretenure = NOT_TENURED);
394 // JSObject that should have a memento pointing to the allocation site. 394 // JSObject that should have a memento pointing to the allocation site.
395 Handle<JSObject> NewJSObjectWithMemento(Handle<JSFunction> constructor, 395 Handle<JSObject> NewJSObjectWithMemento(Handle<JSFunction> constructor,
396 Handle<AllocationSite> site); 396 Handle<AllocationSite> site);
397 // JSObject without a prototype.
398 Handle<JSObject> NewJSObjectWithNullProto();
397 399
398 // Global objects are pretenured and initialized based on a constructor. 400 // Global objects are pretenured and initialized based on a constructor.
399 Handle<JSGlobalObject> NewJSGlobalObject(Handle<JSFunction> constructor); 401 Handle<JSGlobalObject> NewJSGlobalObject(Handle<JSFunction> constructor);
400 402
401 // JS objects are pretenured when allocated by the bootstrapper and 403 // JS objects are pretenured when allocated by the bootstrapper and
402 // runtime. 404 // runtime.
403 Handle<JSObject> NewJSObjectFromMap( 405 Handle<JSObject> NewJSObjectFromMap(
404 Handle<Map> map, 406 Handle<Map> map,
405 PretenureFlag pretenure = NOT_TENURED, 407 PretenureFlag pretenure = NOT_TENURED,
406 Handle<AllocationSite> allocation_site = Handle<AllocationSite>::null()); 408 Handle<AllocationSite> allocation_site = Handle<AllocationSite>::null());
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 711
710 // Create a JSArray with no elements and no length. 712 // Create a JSArray with no elements and no length.
711 Handle<JSArray> NewJSArray(ElementsKind elements_kind, 713 Handle<JSArray> NewJSArray(ElementsKind elements_kind,
712 PretenureFlag pretenure = NOT_TENURED); 714 PretenureFlag pretenure = NOT_TENURED);
713 }; 715 };
714 716
715 } // namespace internal 717 } // namespace internal
716 } // namespace v8 718 } // namespace v8
717 719
718 #endif // V8_FACTORY_H_ 720 #endif // V8_FACTORY_H_
OLDNEW
« src/debug/debug-scopes.cc ('K') | « src/debug/debug-scopes.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698