Revision: 23812
Author:   [email protected]
Date:     Tue Sep  9 14:48:16 2014 UTC
Log:      Some follow-up fixes after r23801.

[email protected]
TEST=mjsunit --turbo-types

Review URL: https://codereview.chromium.org/559563002
https://code.google.com/p/v8/source/detail?r=23812

Modified:
 /branches/bleeding_edge/src/compiler/js-operator.h
 /branches/bleeding_edge/src/compiler/typer.cc

=======================================
--- /branches/bleeding_edge/src/compiler/js-operator.h Thu Sep 4 13:45:05 2014 UTC +++ /branches/bleeding_edge/src/compiler/js-operator.h Tue Sep 9 14:48:16 2014 UTC
@@ -156,7 +156,7 @@
   }
   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); }
=======================================
--- /branches/bleeding_edge/src/compiler/typer.cc Tue Sep 9 12:32:17 2014 UTC +++ /branches/bleeding_edge/src/compiler/typer.cc Tue Sep 9 14:48:16 2014 UTC
@@ -303,14 +303,13 @@


 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()));
 }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to