Some follow-up fixes after r23801.

R=rossberg@chromium.org
TEST=mjsunit --turbo-types

Review URL: https://codereview.chromium.org/559563002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23812 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 8d6f9811
......@@ -156,7 +156,7 @@ class JSOperatorBuilder {
}
Operator* StoreContext(uint16_t depth, uint32_t index) {
ContextAccess access(depth, index, false);
OP1(JSStoreContext, ContextAccess, access, Operator::kNoProperties, 2, 1);
OP1(JSStoreContext, ContextAccess, access, Operator::kNoProperties, 2, 0);
}
Operator* TypeOf() { SIMPLE(JSTypeOf, Operator::kPure, 1, 1); }
......
......@@ -303,14 +303,13 @@ Bounds Typer::Visitor::TypeFinish(Node* node) {
Bounds Typer::Visitor::TypeFrameState(Node* node) {
UNREACHABLE();
return Bounds();
// TODO(rossberg): Ideally FrameState wouldn't have a value output.
return Bounds(Type::Internal(zone()));
}
Bounds Typer::Visitor::TypeStateValues(Node* node) {
UNREACHABLE();
return Bounds();
return Bounds(Type::Internal(zone()));
}
......
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