| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 1f52a225de9ceee3a4cefc1d0e1d1e8b785da2e4..f052b626418794fd344e2fe539119bdeff2f1c69 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -13163,6 +13163,14 @@ ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION(ExternalDoubleElements)
|
|
|
| #undef ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION
|
|
|
| +
|
| +RUNTIME_FUNCTION(MaybeObject*, Runtime_HaveSameMap) {
|
| + ASSERT(args.length() == 2);
|
| + CONVERT_CHECKED(JSObject, obj1, args[0]);
|
| + CONVERT_CHECKED(JSObject, obj2, args[1]);
|
| + return isolate->heap()->ToBoolean(obj1->map() == obj2->map());
|
| +}
|
| +
|
| // ----------------------------------------------------------------------------
|
| // Implementation of Runtime
|
|
|
|
|