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

Side by Side Diff: src/factory.h

Issue 2252783007: Revert of Use a custom Struct for stack trace storage (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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/execution.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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // the old generation). 285 // the old generation).
286 Handle<Struct> NewStruct(InstanceType type); 286 Handle<Struct> NewStruct(InstanceType type);
287 287
288 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry( 288 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry(
289 int aliased_context_slot); 289 int aliased_context_slot);
290 290
291 Handle<AccessorInfo> NewAccessorInfo(); 291 Handle<AccessorInfo> NewAccessorInfo();
292 292
293 Handle<Script> NewScript(Handle<String> source); 293 Handle<Script> NewScript(Handle<String> source);
294 294
295 Handle<StackTraceFrame> NewStackTraceFrame();
296
297 // Foreign objects are pretenured when allocated by the bootstrapper. 295 // Foreign objects are pretenured when allocated by the bootstrapper.
298 Handle<Foreign> NewForeign(Address addr, 296 Handle<Foreign> NewForeign(Address addr,
299 PretenureFlag pretenure = NOT_TENURED); 297 PretenureFlag pretenure = NOT_TENURED);
300 298
301 // Allocate a new foreign object. The foreign is pretenured (allocated 299 // Allocate a new foreign object. The foreign is pretenured (allocated
302 // directly in the old generation). 300 // directly in the old generation).
303 Handle<Foreign> NewForeign(const AccessorDescriptor* foreign); 301 Handle<Foreign> NewForeign(const AccessorDescriptor* foreign);
304 302
305 Handle<ByteArray> NewByteArray(int length, 303 Handle<ByteArray> NewByteArray(int length,
306 PretenureFlag pretenure = NOT_TENURED); 304 PretenureFlag pretenure = NOT_TENURED);
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 FunctionMode function_mode); 750 FunctionMode function_mode);
753 751
754 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 752 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
755 FunctionMode function_mode); 753 FunctionMode function_mode);
756 }; 754 };
757 755
758 } // namespace internal 756 } // namespace internal
759 } // namespace v8 757 } // namespace v8
760 758
761 #endif // V8_FACTORY_H_ 759 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/execution.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698