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

Unified Diff: src/v8globals.h

Issue 5699002: RFC: Switch to ast ids (instead of positions) for type feedback. (Closed)
Patch Set: Cleanup Created 10 years 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
Index: src/v8globals.h
diff --git a/src/v8globals.h b/src/v8globals.h
index 65bbf6ab24594f9c84c7ec3106de4629782d0b16..0619a5744c18727f9ccc9bf233c33573fbcdd0a8 100644
--- a/src/v8globals.h
+++ b/src/v8globals.h
@@ -104,6 +104,10 @@ const uint64_t kQuietNaNMask = static_cast<uint64_t>(0xfff) << 51;
// If looking only at the top 32 bits, the QNaN mask is bits 19 to 30.
const uint32_t kQuietNaNHighBitsMask = 0xfff << (51 - 32);
+// AST node ids.
+typedef unsigned AstId;
fschneider 2011/02/11 11:28:18 Maybe consider leaving ast id as integers (like be
+const AstId kNoAstId = static_cast<AstId>(-1);
+
// -----------------------------------------------------------------------------
// Forward declarations for frequently used classes
« src/assembler.cc ('K') | « src/type-info.cc ('k') | test/cctest/test-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698