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

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

Issue 2205883003: Reland [builtins] implement Array.prototype.includes in TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compiler warning Created 4 years, 4 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
Index: src/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index 39aa95bfb5f77414458a3ce0508fb4e737182a0f..c426b1ad2af7c25dc98ef16f1d03f55fd2100ed4 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -124,6 +124,22 @@ class CodeStubAssembler : public compiler::CodeAssembler {
void BranchIfToBooleanIsTrue(compiler::Node* value, Label* if_true,
Label* if_false);
+ void BranchIfSimd128Equal(compiler::Node* lhs, compiler::Node* lhs_map,
+ compiler::Node* rhs, compiler::Node* rhs_map,
+ Label* if_equal, Label* if_notequal);
+ void BranchIfSimd128Equal(compiler::Node* lhs, compiler::Node* rhs,
+ Label* if_equal, Label* if_notequal) {
+ BranchIfSimd128Equal(lhs, LoadMap(lhs), rhs, LoadMap(rhs), if_equal,
+ if_notequal);
+ }
+
+ void BranchIfSameValueZero(compiler::Node* a, compiler::Node* b,
+ compiler::Node* context, Label* if_true,
+ Label* if_false);
+
+ void BranchIfFastJSArray(compiler::Node* object, compiler::Node* context,
+ Label* if_true, Label* if_false);
+
// Load value from current frame by given offset in bytes.
compiler::Node* LoadFromFrame(int offset,
MachineType rep = MachineType::AnyTagged());

Powered by Google App Engine
This is Rietveld 408576698