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

Unified Diff: src/code-stub-assembler.h

Issue 1904933002: Introduce bytecodes for assisting generator suspend and resume. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | src/compiler/code-assembler.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index aa4f9dee275510ec7df5b43f00a8e7253ef21468..07eb2e39ddf247c886a701120da9a49aec828efb 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -68,6 +68,7 @@ class CodeStubAssembler : public compiler::CodeAssembler {
compiler::Node* SmiMin(compiler::Node* a, compiler::Node* b);
// Allocate an object of the given size.
+ compiler::Node* Allocate(compiler::Node* size, AllocationFlags flags = kNone);
compiler::Node* Allocate(int size, AllocationFlags flags = kNone);
compiler::Node* InnerAllocate(compiler::Node* previous, int offset);
@@ -123,6 +124,8 @@ class CodeStubAssembler : public compiler::CodeAssembler {
// Load the instance size of a Map.
compiler::Node* LoadMapInstanceSize(compiler::Node* map);
+ compiler::Node* AllocateUninitializedFixedArray(compiler::Node* length);
+
// Load an array element from a FixedArray.
compiler::Node* LoadFixedArrayElementInt32Index(compiler::Node* object,
compiler::Node* int32_index,
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | src/compiler/code-assembler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698