Commit 71f15faf authored by danno@chromium.org's avatar danno@chromium.org

Fix assert in KeyedLoadIC constructor

Don't assert when external array ICs are also handled by the KeyedLoadIC.

BUG=1346
TEST=none

Review URL: http://codereview.chromium.org/6893093

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7712 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent fd5bff85
......@@ -328,7 +328,8 @@ class LoadIC: public IC {
class KeyedLoadIC: public IC {
public:
explicit KeyedLoadIC(Isolate* isolate) : IC(NO_EXTRA_FRAME, isolate) {
ASSERT(target()->is_keyed_load_stub());
ASSERT(target()->is_keyed_load_stub() ||
target()->is_external_array_load_stub());
}
MUST_USE_RESULT MaybeObject* Load(State state,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment