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

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

Issue 2628863002: Do security checks in the promise constructor (Closed)
Patch Set: updates Created 3 years, 11 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 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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 Node* IsJSValue(Node* object); 672 Node* IsJSValue(Node* object);
673 Node* IsJSArray(Node* object); 673 Node* IsJSArray(Node* object);
674 Node* IsNativeContext(Node* object); 674 Node* IsNativeContext(Node* object);
675 Node* IsWeakCell(Node* object); 675 Node* IsWeakCell(Node* object);
676 Node* IsFixedDoubleArray(Node* object); 676 Node* IsFixedDoubleArray(Node* object);
677 Node* IsHashTable(Node* object); 677 Node* IsHashTable(Node* object);
678 Node* IsDictionary(Node* object); 678 Node* IsDictionary(Node* object);
679 Node* IsUnseededNumberDictionary(Node* object); 679 Node* IsUnseededNumberDictionary(Node* object);
680 Node* IsConstructorMap(Node* map); 680 Node* IsConstructorMap(Node* map);
681 Node* IsJSFunction(Node* object); 681 Node* IsJSFunction(Node* object);
682 Node* IsJSFunctionInstanceType(Node* instance_type);
683 Node* IsJSBoundFunctionInstanceType(Node* instance_type);
682 684
683 // ElementsKind helpers: 685 // ElementsKind helpers:
684 Node* IsFastElementsKind(Node* elements_kind); 686 Node* IsFastElementsKind(Node* elements_kind);
685 Node* IsHoleyFastElementsKind(Node* elements_kind); 687 Node* IsHoleyFastElementsKind(Node* elements_kind);
686 688
687 // String helpers. 689 // String helpers.
688 // Load a character from a String (might flatten a ConsString). 690 // Load a character from a String (might flatten a ConsString).
689 Node* StringCharCodeAt(Node* string, Node* index, 691 Node* StringCharCodeAt(Node* string, Node* index,
690 ParameterMode parameter_mode = SMI_PARAMETERS); 692 ParameterMode parameter_mode = SMI_PARAMETERS);
691 // Return the single character string with only {code}. 693 // Return the single character string with only {code}.
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1269 } 1271 }
1270 #else 1272 #else
1271 #define CSA_SLOW_ASSERT(csa, x) ((void)0) 1273 #define CSA_SLOW_ASSERT(csa, x) ((void)0)
1272 #endif 1274 #endif
1273 1275
1274 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1276 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1275 1277
1276 } // namespace internal 1278 } // namespace internal
1277 } // namespace v8 1279 } // namespace v8
1278 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1280 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698