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

Unified Diff: src/code-stubs.cc

Issue 2573573004: [stubs] Enable graph verification for builtins. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index e9e43e5250cb81b6c4cc4693176c3632626f17b2..9ad51574c162ce65895e3025119957515ddefc8d 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -2742,7 +2742,7 @@ compiler::Node* NonEmptyShallowClone(CodeStubAssembler* assembler,
ParameterMode param_mode = assembler->OptimalParameterMode();
Node* length = assembler->LoadJSArrayLength(boilerplate);
- capacity = assembler->UntagParameter(capacity, param_mode);
+ capacity = assembler->TaggedToParameter(capacity, param_mode);
Node *array, *elements;
std::tie(array, elements) =
@@ -2760,7 +2760,7 @@ compiler::Node* NonEmptyShallowClone(CodeStubAssembler* assembler,
assembler->LoadObjectField(boilerplate_elements, offset));
}
- length = assembler->UntagParameter(length, param_mode);
+ length = assembler->TaggedToParameter(length, param_mode);
assembler->Comment("copy boilerplate elements");
assembler->CopyFixedArrayElements(kind, boilerplate_elements, elements,

Powered by Google App Engine
This is Rietveld 408576698