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

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

Issue 2799663003: [regexp] Add additional asserts to RegExp builtins (Closed)
Patch Set: Rebase Created 3 years, 8 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
« no previous file with comments | « src/builtins/builtins-regexp-gen.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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 Node* IsNativeContext(Node* object); 727 Node* IsNativeContext(Node* object);
728 Node* IsWeakCell(Node* object); 728 Node* IsWeakCell(Node* object);
729 Node* IsFixedDoubleArray(Node* object); 729 Node* IsFixedDoubleArray(Node* object);
730 Node* IsHashTable(Node* object); 730 Node* IsHashTable(Node* object);
731 Node* IsDictionary(Node* object); 731 Node* IsDictionary(Node* object);
732 Node* IsUnseededNumberDictionary(Node* object); 732 Node* IsUnseededNumberDictionary(Node* object);
733 Node* IsConstructorMap(Node* map); 733 Node* IsConstructorMap(Node* map);
734 Node* IsJSFunction(Node* object); 734 Node* IsJSFunction(Node* object);
735 Node* IsJSTypedArray(Node* object); 735 Node* IsJSTypedArray(Node* object);
736 Node* IsFixedTypedArray(Node* object); 736 Node* IsFixedTypedArray(Node* object);
737 Node* IsJSRegExp(Node* object);
737 738
738 // ElementsKind helpers: 739 // ElementsKind helpers:
739 Node* IsFastElementsKind(Node* elements_kind); 740 Node* IsFastElementsKind(Node* elements_kind);
740 Node* IsHoleyFastElementsKind(Node* elements_kind); 741 Node* IsHoleyFastElementsKind(Node* elements_kind);
741 742
742 // String helpers. 743 // String helpers.
743 // Load a character from a String (might flatten a ConsString). 744 // Load a character from a String (might flatten a ConsString).
744 Node* StringCharCodeAt(Node* string, Node* index, 745 Node* StringCharCodeAt(Node* string, Node* index,
745 ParameterMode parameter_mode = SMI_PARAMETERS); 746 ParameterMode parameter_mode = SMI_PARAMETERS);
746 // Return the single character string with only {code}. 747 // Return the single character string with only {code}.
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
1492 } 1493 }
1493 #else 1494 #else
1494 #define CSA_SLOW_ASSERT(csa, x) ((void)0) 1495 #define CSA_SLOW_ASSERT(csa, x) ((void)0)
1495 #endif 1496 #endif
1496 1497
1497 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1498 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1498 1499
1499 } // namespace internal 1500 } // namespace internal
1500 } // namespace v8 1501 } // namespace v8
1501 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1502 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-regexp-gen.cc ('k') | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698