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

Side by Side Diff: src/factory.h

Issue 2788413004: [inspector] cache stack frame for call sites (Closed)
Patch Set: reverted v8-debugger change Created 3 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/extensions/statistics-extension.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/feedback-vector.h" 8 #include "src/feedback-vector.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/isolate.h" 10 #include "src/isolate.h"
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 318
319 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry( 319 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry(
320 int aliased_context_slot); 320 int aliased_context_slot);
321 321
322 Handle<AccessorInfo> NewAccessorInfo(); 322 Handle<AccessorInfo> NewAccessorInfo();
323 323
324 Handle<Script> NewScript(Handle<String> source); 324 Handle<Script> NewScript(Handle<String> source);
325 325
326 Handle<BreakPointInfo> NewBreakPointInfo(int source_position); 326 Handle<BreakPointInfo> NewBreakPointInfo(int source_position);
327 Handle<StackFrameInfo> NewStackFrameInfo(); 327 Handle<StackFrameInfo> NewStackFrameInfo();
328 Handle<SourcePositionTableWithFrameCache>
329 NewSourcePositionTableWithFrameCache(
330 Handle<ByteArray> source_position_table,
331 Handle<UnseededNumberDictionary> stack_frame_cache);
328 332
329 // Foreign objects are pretenured when allocated by the bootstrapper. 333 // Foreign objects are pretenured when allocated by the bootstrapper.
330 Handle<Foreign> NewForeign(Address addr, 334 Handle<Foreign> NewForeign(Address addr,
331 PretenureFlag pretenure = NOT_TENURED); 335 PretenureFlag pretenure = NOT_TENURED);
332 336
333 // Allocate a new foreign object. The foreign is pretenured (allocated 337 // Allocate a new foreign object. The foreign is pretenured (allocated
334 // directly in the old generation). 338 // directly in the old generation).
335 Handle<Foreign> NewForeign(const AccessorDescriptor* foreign); 339 Handle<Foreign> NewForeign(const AccessorDescriptor* foreign);
336 340
337 Handle<ByteArray> NewByteArray(int length, 341 Handle<ByteArray> NewByteArray(int length,
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 837 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
834 FunctionMode function_mode); 838 FunctionMode function_mode);
835 839
836 void SetClassFunctionInstanceDescriptor(Handle<Map> map); 840 void SetClassFunctionInstanceDescriptor(Handle<Map> map);
837 }; 841 };
838 842
839 } // namespace internal 843 } // namespace internal
840 } // namespace v8 844 } // namespace v8
841 845
842 #endif // V8_FACTORY_H_ 846 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/extensions/statistics-extension.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698