Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index e9e600fdb6bc8a3fbfc64c436d9ac9d456b724c5..ab582a2ba9440541ac90b2054ddd31061920289c 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -363,6 +363,7 @@ class FastCloneShallowArrayStub : public CodeStub { |
enum Mode { |
CLONE_ELEMENTS, |
+ CLONE_DOUBLE_ELEMENTS, |
COPY_ON_WRITE_ELEMENTS |
}; |
@@ -381,8 +382,8 @@ class FastCloneShallowArrayStub : public CodeStub { |
Major MajorKey() { return FastCloneShallowArray; } |
int MinorKey() { |
- ASSERT(mode_ == 0 || mode_ == 1); |
- return (length_ << 1) | mode_; |
+ ASSERT(mode_ == 0 || mode_ == 1 || mode_ == 2); |
+ return length_ * 3 + mode_; |
} |
}; |