Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index cede9acaddf1c13a46b359b37c55893ab54f2038..5b86615ba3b5213e1600581ba95a48d173c83200 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -625,6 +625,15 @@ class FullCodeGenerator: public AstVisitor { |
struct BailoutEntry { |
BailoutId id; |
unsigned pc_and_state; |
+ static int CompareBailoutId(const BailoutEntry* a, const BailoutEntry* b) { |
+ if (a->id == b->id) { |
+ return 0; |
+ } else if (a->id < b->id) { |
+ return -1; |
+ } else { |
+ return +1; |
+ } |
+ } |
}; |
struct BackEdgeEntry { |