Reviewers: Igor Sheludko,
Message:
PTAL
Description:
Tag handlers as monomorphic
BUG=
Please review this at https://codereview.chromium.org/444623002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -1 lines):
M src/code-stubs.h
M src/type-info.h
Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index
89365b934428bf3837a72d816714fd88bbaf0a23..7017ab8faedd21e09ec43244e3f6968ff101de65
100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -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: src/type-info.h
diff --git a/src/type-info.h b/src/type-info.h
index
61dcf1c7a5f55c343fe9d5a5b7fe9e6c4fb82dd5..44fecf634c4697803ccc3f418b8232e8d582221f
100644
--- a/src/type-info.h
+++ b/src/type-info.h
@@ -14,7 +14,6 @@ namespace v8 {
namespace internal {
// Forward declarations.
-class ICStub;
class SmallMapList;
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.