Commit d6c9b4ad authored by Jakob Gruber's avatar Jakob Gruber Committed by Commit Bot

[gasm] Port the Array.prototype.{every,some} reduction

Tbr: mvstanton@chromium.org
Bug: v8:9972
Change-Id: If491e37e43e2a639b452b7d5558baca75bca1791
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1973737
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65556}
parent 694c7f56
......@@ -635,6 +635,10 @@ Node* GraphAssembler::LoopExitEffect() {
graph()->NewNode(common()->LoopExitEffect(), effect(), control()));
}
Node* GraphAssembler::LoopExitValue(Node* value) {
return AddNode(graph()->NewNode(common()->LoopExitValue(), value, control()));
}
Node* GraphAssembler::DebugBreak() {
return AddNode(
graph()->NewNode(machine()->DebugBreak(), effect(), control()));
......
......@@ -310,6 +310,7 @@ class V8_EXPORT_PRIVATE GraphAssembler {
Node* Checkpoint(FrameState frame_state);
Node* LoopExit(Control loop_header);
Node* LoopExitEffect();
Node* LoopExitValue(Node* value);
Node* Store(StoreRepresentation rep, Node* object, Node* offset, Node* value);
Node* Load(MachineType type, Node* object, Node* offset);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment