X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fv8%2Fsrc%2Flist.h;h=ea5fd1e0cac37a0840a7e3f1eb4dea8f6acdff53;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=2244d67f9f06da8df91e0727759d4c17e61b3fb3;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/v8/src/list.h b/src/v8/src/list.h index 2244d67..ea5fd1e 100644 --- a/src/v8/src/list.h +++ b/src/v8/src/list.h @@ -5,6 +5,7 @@ #ifndef V8_LIST_H_ #define V8_LIST_H_ +#include "src/checks.h" #include "src/utils.h" namespace v8 { @@ -61,8 +62,8 @@ class List { // not safe to use after operations that can change the list's // backing store (e.g. Add). inline T& operator[](int i) const { - ASSERT(0 <= i); - SLOW_ASSERT(i < length_); + DCHECK(0 <= i); + SLOW_DCHECK(i < length_); return data_[i]; } inline T& at(int i) const { return operator[](i); }