Tag handlers as monomorphic
authorverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 5 Aug 2014 12:32:49 +0000 (12:32 +0000)
committerverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 5 Aug 2014 12:32:49 +0000 (12:32 +0000)
BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/444623002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22868 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/code-stubs.h
src/type-info.h

index 89365b934428bf3837a72d816714fd88bbaf0a23..7017ab8faedd21e09ec43244e3f6968ff101de65 100644 (file)
@@ -901,6 +901,7 @@ class HandlerStub : public HydrogenCodeStub {
  public:
   virtual Code::Kind GetCodeKind() const { return Code::HANDLER; }
   virtual ExtraICState GetExtraICState() const { return kind(); }
+  virtual InlineCacheState GetICState() { return MONOMORPHIC; }
 
  protected:
   explicit HandlerStub(Isolate* isolate)
index 61dcf1c7a5f55c343fe9d5a5b7fe9e6c4fb82dd5..44fecf634c4697803ccc3f418b8232e8d582221f 100644 (file)
@@ -14,7 +14,6 @@ namespace v8 {
 namespace internal {
 
 // Forward declarations.
-class ICStub;
 class SmallMapList;