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

Side by Side Diff: src/code-stub-assembler.h

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « src/code-factory.cc ('k') | src/code-stub-assembler.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_CODE_STUB_ASSEMBLER_H_ 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_
6 #define V8_CODE_STUB_ASSEMBLER_H_ 6 #define V8_CODE_STUB_ASSEMBLER_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "src/compiler/code-assembler.h" 10 #include "src/compiler/code-assembler.h"
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 Node* IsSymbol(Node* object); 651 Node* IsSymbol(Node* object);
652 Node* IsPrivateSymbol(Node* object); 652 Node* IsPrivateSymbol(Node* object);
653 Node* IsJSValue(Node* object); 653 Node* IsJSValue(Node* object);
654 Node* IsJSArray(Node* object); 654 Node* IsJSArray(Node* object);
655 Node* IsNativeContext(Node* object); 655 Node* IsNativeContext(Node* object);
656 Node* IsWeakCell(Node* object); 656 Node* IsWeakCell(Node* object);
657 Node* IsFixedDoubleArray(Node* object); 657 Node* IsFixedDoubleArray(Node* object);
658 Node* IsHashTable(Node* object); 658 Node* IsHashTable(Node* object);
659 Node* IsDictionary(Node* object); 659 Node* IsDictionary(Node* object);
660 Node* IsUnseededNumberDictionary(Node* object); 660 Node* IsUnseededNumberDictionary(Node* object);
661 Node* IsConstructorMap(Node* map);
662 Node* IsJSFunction(Node* object);
661 663
662 // ElementsKind helpers: 664 // ElementsKind helpers:
663 Node* IsFastElementsKind(Node* elements_kind); 665 Node* IsFastElementsKind(Node* elements_kind);
664 Node* IsHoleyFastElementsKind(Node* elements_kind); 666 Node* IsHoleyFastElementsKind(Node* elements_kind);
665 667
666 // String helpers. 668 // String helpers.
667 // Load a character from a String (might flatten a ConsString). 669 // Load a character from a String (might flatten a ConsString).
668 Node* StringCharCodeAt(Node* string, Node* smi_index); 670 Node* StringCharCodeAt(Node* string, Node* smi_index);
669 // Return the single character string with only {code}. 671 // Return the single character string with only {code}.
670 Node* StringFromCharCode(Node* code); 672 Node* StringFromCharCode(Node* code);
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 // instructions, e.g. Branch(SameValue(...), &label). 1073 // instructions, e.g. Branch(SameValue(...), &label).
1072 Node* SameValue(Node* lhs, Node* rhs, Node* context); 1074 Node* SameValue(Node* lhs, Node* rhs, Node* context);
1073 1075
1074 Node* HasProperty( 1076 Node* HasProperty(
1075 Node* object, Node* key, Node* context, 1077 Node* object, Node* key, Node* context,
1076 Runtime::FunctionId fallback_runtime_function_id = Runtime::kHasProperty); 1078 Runtime::FunctionId fallback_runtime_function_id = Runtime::kHasProperty);
1077 Node* ForInFilter(Node* key, Node* object, Node* context); 1079 Node* ForInFilter(Node* key, Node* object, Node* context);
1078 1080
1079 Node* Typeof(Node* value, Node* context); 1081 Node* Typeof(Node* value, Node* context);
1080 1082
1083 Node* GetSuperConstructor(Node* value, Node* context);
1084
1081 Node* InstanceOf(Node* object, Node* callable, Node* context); 1085 Node* InstanceOf(Node* object, Node* callable, Node* context);
1082 1086
1083 // Debug helpers 1087 // Debug helpers
1084 Node* IsDebugActive(); 1088 Node* IsDebugActive();
1085 1089
1086 // TypedArray/ArrayBuffer helpers 1090 // TypedArray/ArrayBuffer helpers
1087 Node* IsDetachedBuffer(Node* buffer); 1091 Node* IsDetachedBuffer(Node* buffer);
1088 1092
1089 Node* ElementOffsetFromIndex(Node* index, ElementsKind kind, 1093 Node* ElementOffsetFromIndex(Node* index, ElementsKind kind,
1090 ParameterMode mode, int base_size = 0); 1094 ParameterMode mode, int base_size = 0);
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 } 1210 }
1207 #else 1211 #else
1208 #define CSA_SLOW_ASSERT(csa, x) ((void)0) 1212 #define CSA_SLOW_ASSERT(csa, x) ((void)0)
1209 #endif 1213 #endif
1210 1214
1211 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1215 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1212 1216
1213 } // namespace internal 1217 } // namespace internal
1214 } // namespace v8 1218 } // namespace v8
1215 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1219 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/code-factory.cc ('k') | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698