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

Unified Diff: src/code-stub-assembler.h

Issue 2847923003: [csa] Add assertions to CSA (Closed)
Patch Set: Rebase & fix incorrect asserts Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index 50ec8976b68033547c98d6f034d7e22ee1e83e44..74da870d68af83953ca7360edad619c26db725ac 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -41,6 +41,7 @@ enum class PrimitiveType { kBoolean, kNumber, kString, kSymbol };
V(HeapNumberMap, HeapNumberMap) \
V(length_string, LengthString) \
V(ManyClosuresCellMap, ManyClosuresCellMap) \
+ V(MetaMap, MetaMap) \
V(MinusZeroValue, MinusZero) \
V(MutableHeapNumberMap, MutableHeapNumberMap) \
V(NanValue, Nan) \
@@ -117,6 +118,8 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
return value;
}
+ Node* MatchesParameterMode(Node* value, ParameterMode mode);
+
#define PARAMETER_BINOP(OpName, IntPtrOpName, SmiOpName) \
Node* OpName(Node* a, Node* b, ParameterMode mode) { \
if (mode == SMI_PARAMETERS) { \
@@ -776,6 +779,7 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
Node* IsPropertyCell(Node* object);
Node* IsAccessorInfo(Node* object);
Node* IsAccessorPair(Node* object);
+ Node* IsAnyHeapNumber(Node* object);
Node* IsHeapNumber(Node* object);
Node* IsMutableHeapNumber(Node* object);
Node* IsName(Node* object);
@@ -788,6 +792,9 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
Node* IsJSArrayInstanceType(Node* instance_type);
Node* IsJSArray(Node* object);
Node* IsJSArrayMap(Node* object);
+ Node* IsFixedArray(Node* object);
+ Node* IsFixedArrayWithKindOrEmpty(Node* object, ElementsKind kind);
+ Node* IsFixedArrayWithKind(Node* object, ElementsKind kind);
Node* IsNativeContext(Node* object);
Node* IsWeakCell(Node* object);
Node* IsFixedDoubleArray(Node* object);
@@ -838,16 +845,6 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
Node* StringAdd(Node* context, Node* first, Node* second,
AllocationFlags flags = kNone);
- // Unpack the external string, returning a pointer that (offset-wise) looks
- // like a sequential string.
- // Note that this pointer is not tagged and does not point to a real
- // sequential string instance, and may only be used to access the string
- // data. The pointer is GC-safe as long as a reference to the container
- // ExternalString is live.
- // |string| must be an external string. Bailout for short external strings.
- Node* TryDerefExternalString(Node* const string, Node* const instance_type,
- Label* if_bailout);
-
// Check if |string| is an indirect (thin or flat cons) string type that can
// be dereferenced by DerefIndirectString.
void BranchIfCanDerefIndirectString(Node* string, Node* instance_type,
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698