Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 1449d0a98a9c0bd572c27ecee03428856a4377da..c543bb196867d15ee8cc1a3e3e24240db827dd6a 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -102,6 +102,15 @@ Handle<PrototypeInfo> Factory::NewPrototypeInfo() { |
return result; |
} |
+Handle<Tuple3> Factory::NewTuple3(Handle<Object> value1, Handle<Object> value2, |
+ Handle<Object> value3) { |
+ Handle<Tuple3> result = Handle<Tuple3>::cast(NewStruct(TUPLE3_TYPE)); |
+ result->set_value1(*value1); |
+ result->set_value2(*value2); |
+ result->set_value3(*value3); |
+ return result; |
+} |
+ |
Handle<ContextExtension> Factory::NewContextExtension( |
Handle<ScopeInfo> scope_info, Handle<Object> extension) { |
Handle<ContextExtension> result = |