Revision: 13590
Author: [email protected]
Date: Mon Feb 4 07:40:50 2013
Log: Keep ArrayLength, StringLength and FunctionPrototype MONOMORPHIC.
Review URL: https://chromiumcodereview.appspot.com/12181012
http://code.google.com/p/v8/source/detail?r=13590
Modified:
/branches/bleeding_edge/src/code-stubs.h
=======================================
--- /branches/bleeding_edge/src/code-stubs.h Mon Feb 4 05:12:03 2013
+++ /branches/bleeding_edge/src/code-stubs.h Mon Feb 4 07:40:50 2013
@@ -549,12 +549,7 @@
public:
explicit ICStub(Code::Kind kind) : kind_(kind) { }
virtual int GetCodeKind() { return kind_; }
- // Currently all IC stubs do not collect explicit type feedback but
rather
- // check the instance type.
- // TODO(verwaest): These stubs should collect proper type feedback, and
should
- // not check the instance type explicitly (perhaps unless more than
- // kMaxPolymorphism maps are recorded).
- virtual InlineCacheState GetICState() { return MEGAMORPHIC; }
+ virtual InlineCacheState GetICState() { return MONOMORPHIC; }
bool Describes(Code* code) {
return GetMajorKey(code) == MajorKey() && code->stub_info() ==
MinorKey();
--
--
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/groups/opt_out.