Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: src/objects.h

Issue 17620010: Fix for buffer overrun in src/spaces.cc:1826 introduced at r15287 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« 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/objects.h
diff --git a/src/objects.h b/src/objects.h
index 417411d15524222bfb59708acd5b9a6f8589e24d..61ce298c614017cd44ac26b60df0ec03d843d715 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4466,12 +4466,13 @@ class Code: public HeapObject {
// Pseudo-kinds.
LAST_CODE_KIND = TO_BOOLEAN_IC,
FIRST_IC_KIND = LOAD_IC,
- LAST_IC_KIND = TO_BOOLEAN_IC
+ LAST_IC_KIND = TO_BOOLEAN_IC,
+ LAST_KIND = REGEXP
};
// No more than 16 kinds. The value is currently encoded in four bits in
// Flags.
- STATIC_ASSERT(LAST_CODE_KIND < 16);
+ STATIC_ASSERT(LAST_KIND < 16);
static const char* Kind2String(Kind kind);
@@ -4492,7 +4493,7 @@ class Code: public HeapObject {
};
enum {
- NUMBER_OF_KINDS = LAST_IC_KIND + 1
+ NUMBER_OF_KINDS = LAST_KIND + 1
};
typedef int ExtraICState;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698