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

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

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: Fix IsNull call Created 4 years 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
Index: src/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index 52b27fa964f7ab31557b76af379a3db5357691da..2ed30b825f500b0576ae553dda4bed66c516f595 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -647,6 +647,8 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
Node* IsHashTable(Node* object);
Node* IsDictionary(Node* object);
Node* IsUnseededNumberDictionary(Node* object);
+ Node* IsConstructorMap(Node* map);
+ Node* IsJSFunction(Node* object);
// ElementsKind helpers:
Node* IsFastElementsKind(Node* elements_kind);
@@ -1068,6 +1070,8 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
Node* Typeof(Node* value, Node* context);
+ Node* GetSuperConstructor(Node* value, Node* context);
+
Node* InstanceOf(Node* object, Node* callable, Node* context);
// Debug helpers
« no previous file with comments | « src/code-factory.cc ('k') | src/code-stub-assembler.cc » ('j') | src/messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698