Index: src/code-stubs.h |
=================================================================== |
--- src/code-stubs.h (revision 3980) |
+++ src/code-stubs.h (working copy) |
@@ -28,6 +28,8 @@ |
#ifndef V8_CODE_STUBS_H_ |
#define V8_CODE_STUBS_H_ |
+#include "globals.h" |
+ |
namespace v8 { |
namespace internal { |
@@ -139,6 +141,14 @@ |
// lazily generated function should be fully optimized or not. |
virtual InLoopFlag InLoop() { return NOT_IN_LOOP; } |
+ // GenericBinaryOpStub needs to override this. |
+ virtual int GetCodeKind(); |
+ |
+ // GenericBinaryOpStub needs to override this. |
+ virtual InlineCacheState GetICState() { |
+ return UNINITIALIZED; |
+ } |
+ |
// Returns a name for logging/debugging purposes. |
virtual const char* GetName() { return MajorName(MajorKey(), false); } |