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

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

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: Convert GetSuperConstructor to a new interpreter bytecode 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
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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 compiler::Node* rhs, compiler::Node* context); 976 compiler::Node* rhs, compiler::Node* context);
977 977
978 compiler::Node* HasProperty( 978 compiler::Node* HasProperty(
979 compiler::Node* object, compiler::Node* key, compiler::Node* context, 979 compiler::Node* object, compiler::Node* key, compiler::Node* context,
980 Runtime::FunctionId fallback_runtime_function_id = Runtime::kHasProperty); 980 Runtime::FunctionId fallback_runtime_function_id = Runtime::kHasProperty);
981 compiler::Node* ForInFilter(compiler::Node* key, compiler::Node* object, 981 compiler::Node* ForInFilter(compiler::Node* key, compiler::Node* object,
982 compiler::Node* context); 982 compiler::Node* context);
983 983
984 compiler::Node* Typeof(compiler::Node* value, compiler::Node* context); 984 compiler::Node* Typeof(compiler::Node* value, compiler::Node* context);
985 985
986 compiler::Node* GetSuperConstructor(compiler::Node* value,
987 compiler::Node* context);
988
986 compiler::Node* InstanceOf(compiler::Node* object, compiler::Node* callable, 989 compiler::Node* InstanceOf(compiler::Node* object, compiler::Node* callable,
987 compiler::Node* context); 990 compiler::Node* context);
988 991
989 // TypedArray/ArrayBuffer helpers 992 // TypedArray/ArrayBuffer helpers
990 compiler::Node* IsDetachedBuffer(compiler::Node* buffer); 993 compiler::Node* IsDetachedBuffer(compiler::Node* buffer);
991 994
992 private: 995 private:
993 enum ElementSupport { kOnlyProperties, kSupportElements }; 996 enum ElementSupport { kOnlyProperties, kSupportElements };
994 997
995 void DescriptorLookupLinear(compiler::Node* unique_name, 998 void DescriptorLookupLinear(compiler::Node* unique_name,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 static const int kElementLoopUnrollThreshold = 8; 1056 static const int kElementLoopUnrollThreshold = 8;
1054 }; 1057 };
1055 1058
1056 #define CSA_ASSERT(x) Assert((x), #x, __FILE__, __LINE__) 1059 #define CSA_ASSERT(x) Assert((x), #x, __FILE__, __LINE__)
1057 1060
1058 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1061 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1059 1062
1060 } // namespace internal 1063 } // namespace internal
1061 } // namespace v8 1064 } // namespace v8
1062 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1065 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698