Chromium Code Reviews

Unified Diff: src/ic.h

Issue 6893093: Fix assert in KeyedLoadIC constructor (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix assert Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic.h
diff --git a/src/ic.h b/src/ic.h
index 7b7ab434ba62cfdea48f73273ca440da8ba8d675..33a3e40ba41bae502cc52531f1600c6191ea76c2 100644
--- a/src/ic.h
+++ b/src/ic.h
@@ -327,7 +327,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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine