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

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

Issue 2566483002: [promisehook] Add is_promisehook_enabled (Closed)
Patch Set: rename var 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/assembler.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 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after
1043 1043
1044 // Debug helpers 1044 // Debug helpers
1045 Node* IsDebugActive(); 1045 Node* IsDebugActive();
1046 1046
1047 // TypedArray/ArrayBuffer helpers 1047 // TypedArray/ArrayBuffer helpers
1048 Node* IsDetachedBuffer(Node* buffer); 1048 Node* IsDetachedBuffer(Node* buffer);
1049 1049
1050 Node* ElementOffsetFromIndex(Node* index, ElementsKind kind, 1050 Node* ElementOffsetFromIndex(Node* index, ElementsKind kind,
1051 ParameterMode mode, int base_size = 0); 1051 ParameterMode mode, int base_size = 0);
1052 1052
1053 // Promise helpers
1054 Node* IsPromiseHookEnabled();
1055
1053 protected: 1056 protected:
1054 void DescriptorLookupLinear(Node* unique_name, Node* descriptors, Node* nof, 1057 void DescriptorLookupLinear(Node* unique_name, Node* descriptors, Node* nof,
1055 Label* if_found, Variable* var_name_index, 1058 Label* if_found, Variable* var_name_index,
1056 Label* if_not_found); 1059 Label* if_not_found);
1057 1060
1058 Node* CallGetterIfAccessor(Node* value, Node* details, Node* context, 1061 Node* CallGetterIfAccessor(Node* value, Node* details, Node* context,
1059 Node* receiver, Label* if_bailout); 1062 Node* receiver, Label* if_bailout);
1060 1063
1061 Node* TryToIntptr(Node* key, Label* miss); 1064 Node* TryToIntptr(Node* key, Label* miss);
1062 1065
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
1154 } 1157 }
1155 #else 1158 #else
1156 #define CSA_SLOW_ASSERT(csa, x) ((void)0) 1159 #define CSA_SLOW_ASSERT(csa, x) ((void)0)
1157 #endif 1160 #endif
1158 1161
1159 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1162 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1160 1163
1161 } // namespace internal 1164 } // namespace internal
1162 } // namespace v8 1165 } // namespace v8
1163 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1166 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698