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

Side by Side Diff: src/factory.h

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

Powered by Google App Engine
This is Rietveld 408576698