| Index: src/checks.h
|
| ===================================================================
|
| --- src/checks.h (revision 6904)
|
| +++ src/checks.h (working copy)
|
| @@ -30,6 +30,7 @@
|
|
|
| #include <string.h>
|
|
|
| +#include "../include/v8stdint.h"
|
| extern "C" void V8_Fatal(const char* file, int line, const char* format, ...);
|
|
|
| // The FATAL, UNREACHABLE and UNIMPLEMENTED macros are useful during
|
| @@ -231,6 +232,8 @@
|
|
|
| #define CHECK_GT(a, b) CHECK((a) > (b))
|
| #define CHECK_GE(a, b) CHECK((a) >= (b))
|
| +#define CHECK_LT(a, b) CHECK((a) < (b))
|
| +#define CHECK_LE(a, b) CHECK((a) <= (b))
|
|
|
|
|
| // This is inspired by the static assertion facility in boost. This
|
|
|