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

Side by Side Diff: src/factory.h

Issue 1303403004: [Interpreter] Add support for parameter variables. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_add_bytecodes
Patch Set: Address review comments Created 5 years, 3 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/arm64/builtins-arm64.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 10
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 PretenureFlag pretenure = NOT_TENURED); 281 PretenureFlag pretenure = NOT_TENURED);
282 282
283 // Allocate a new foreign object. The foreign is pretenured (allocated 283 // Allocate a new foreign object. The foreign is pretenured (allocated
284 // directly in the old generation). 284 // directly in the old generation).
285 Handle<Foreign> NewForeign(const AccessorDescriptor* foreign); 285 Handle<Foreign> NewForeign(const AccessorDescriptor* foreign);
286 286
287 Handle<ByteArray> NewByteArray(int length, 287 Handle<ByteArray> NewByteArray(int length,
288 PretenureFlag pretenure = NOT_TENURED); 288 PretenureFlag pretenure = NOT_TENURED);
289 289
290 Handle<BytecodeArray> NewBytecodeArray(int length, const byte* raw_bytecodes, 290 Handle<BytecodeArray> NewBytecodeArray(int length, const byte* raw_bytecodes,
291 int frame_size); 291 int frame_size, int parameter_count);
292 292
293 Handle<FixedTypedArrayBase> NewFixedTypedArrayWithExternalPointer( 293 Handle<FixedTypedArrayBase> NewFixedTypedArrayWithExternalPointer(
294 int length, ExternalArrayType array_type, void* external_pointer, 294 int length, ExternalArrayType array_type, void* external_pointer,
295 PretenureFlag pretenure = NOT_TENURED); 295 PretenureFlag pretenure = NOT_TENURED);
296 296
297 Handle<FixedTypedArrayBase> NewFixedTypedArray( 297 Handle<FixedTypedArrayBase> NewFixedTypedArray(
298 int length, ExternalArrayType array_type, bool initialize, 298 int length, ExternalArrayType array_type, bool initialize,
299 PretenureFlag pretenure = NOT_TENURED); 299 PretenureFlag pretenure = NOT_TENURED);
300 300
301 Handle<Cell> NewCell(Handle<Object> value); 301 Handle<Cell> NewCell(Handle<Object> value);
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 // Reinitialize a JSProxy into an (empty) JS object of respective type and 728 // Reinitialize a JSProxy into an (empty) JS object of respective type and
729 // size, but keeping the original prototype. The receiver must have at least 729 // size, but keeping the original prototype. The receiver must have at least
730 // the size of the new object. The object is reinitialized and behaves as an 730 // the size of the new object. The object is reinitialized and behaves as an
731 // object that has been freshly allocated. 731 // object that has been freshly allocated.
732 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 732 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
733 }; 733 };
734 734
735 } } // namespace v8::internal 735 } } // namespace v8::internal
736 736
737 #endif // V8_FACTORY_H_ 737 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698