aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/js-operator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/js-operator.cc')
-rw-r--r--deps/v8/src/compiler/js-operator.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/deps/v8/src/compiler/js-operator.cc b/deps/v8/src/compiler/js-operator.cc
index acfc0d3a19..a30b4ddcdd 100644
--- a/deps/v8/src/compiler/js-operator.cc
+++ b/deps/v8/src/compiler/js-operator.cc
@@ -266,7 +266,7 @@ NamedAccess const& NamedAccessOf(const Operator* op) {
std::ostream& operator<<(std::ostream& os, PropertyAccess const& p) {
- return os << p.language_mode();
+ return os << p.language_mode() << ", " << p.feedback();
}
@@ -609,7 +609,6 @@ CompareOperationHint CompareOperationHintOf(const Operator* op) {
V(Decrement, Operator::kNoProperties, 1, 1) \
V(Increment, Operator::kNoProperties, 1, 1) \
V(Negate, Operator::kNoProperties, 1, 1) \
- V(ToInteger, Operator::kNoProperties, 1, 1) \
V(ToLength, Operator::kNoProperties, 1, 1) \
V(ToName, Operator::kNoProperties, 1, 1) \
V(ToNumber, Operator::kNoProperties, 1, 1) \
@@ -1191,6 +1190,14 @@ const Operator* JSOperatorBuilder::CreateEmptyLiteralArray(
parameters); // parameter
}
+const Operator* JSOperatorBuilder::CreateArrayFromIterable() {
+ return new (zone()) Operator( // --
+ IrOpcode::kJSCreateArrayFromIterable, // opcode
+ Operator::kNoProperties, // properties
+ "JSCreateArrayFromIterable", // name
+ 1, 1, 1, 1, 1, 2); // counts
+}
+
const Operator* JSOperatorBuilder::CreateLiteralObject(
Handle<ObjectBoilerplateDescription> constant_properties,
VectorSlotPair const& feedback, int literal_flags,