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

Unified Diff: src/builtins/builtins-constructor.h

Issue 2607233002: [builtins] Add EmitFastNewObject (Closed)
Patch Set: Created 3 years, 12 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/builtins/builtins-constructor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-constructor.h
diff --git a/src/builtins/builtins-constructor.h b/src/builtins/builtins-constructor.h
index 86c412b91f714bf79d2d96c23bbaa88cd48195b1..98df63626147ac5ac12e02c34f48a8734eb66e25 100644
--- a/src/builtins/builtins-constructor.h
+++ b/src/builtins/builtins-constructor.h
@@ -44,6 +44,11 @@ class ConstructorBuiltinsAssembler : public CodeStubAssembler {
Node* properties_count);
void CreateFastCloneShallowObjectBuiltin(int properties_count);
+ Node* EmitFastNewObject(Node* context, Node* target, Node* new_target);
+
+ Node* EmitFastNewObject(Node* context, Node* target, Node* new_target,
+ CodeAssemblerLabel* call_runtime);
+
private:
static const int kMaximumSlots = 0x8000;
static const int kSmallMaximumSlots = 10;
« no previous file with comments | « no previous file | src/builtins/builtins-constructor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698