Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(871)

Side by Side Diff: src/log.cc

Issue 6894003: Better support for 'polymorphic' JS and external arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: final review feedback Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/log.h ('k') | src/mark-compact.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
11 // with the distribution. 11 // with the distribution.
(...skipping 1601 matching lines...) Expand 10 before | Expand all | Expand 10 after
1613 tag = Logger::STUB_TAG; 1613 tag = Logger::STUB_TAG;
1614 break; 1614 break;
1615 case Code::BUILTIN: 1615 case Code::BUILTIN:
1616 description = "A builtin from the snapshot"; 1616 description = "A builtin from the snapshot";
1617 tag = Logger::BUILTIN_TAG; 1617 tag = Logger::BUILTIN_TAG;
1618 break; 1618 break;
1619 case Code::KEYED_LOAD_IC: 1619 case Code::KEYED_LOAD_IC:
1620 description = "A keyed load IC from the snapshot"; 1620 description = "A keyed load IC from the snapshot";
1621 tag = Logger::KEYED_LOAD_IC_TAG; 1621 tag = Logger::KEYED_LOAD_IC_TAG;
1622 break; 1622 break;
1623 case Code::KEYED_EXTERNAL_ARRAY_LOAD_IC:
1624 description = "A keyed external array load IC from the snapshot";
1625 tag = Logger::KEYED_EXTERNAL_ARRAY_LOAD_IC_TAG;
1626 break;
1627 case Code::LOAD_IC: 1623 case Code::LOAD_IC:
1628 description = "A load IC from the snapshot"; 1624 description = "A load IC from the snapshot";
1629 tag = Logger::LOAD_IC_TAG; 1625 tag = Logger::LOAD_IC_TAG;
1630 break; 1626 break;
1631 case Code::STORE_IC: 1627 case Code::STORE_IC:
1632 description = "A store IC from the snapshot"; 1628 description = "A store IC from the snapshot";
1633 tag = Logger::STORE_IC_TAG; 1629 tag = Logger::STORE_IC_TAG;
1634 break; 1630 break;
1635 case Code::KEYED_STORE_IC: 1631 case Code::KEYED_STORE_IC:
1636 description = "A keyed store IC from the snapshot"; 1632 description = "A keyed store IC from the snapshot";
1637 tag = Logger::KEYED_STORE_IC_TAG; 1633 tag = Logger::KEYED_STORE_IC_TAG;
1638 break; 1634 break;
1639 case Code::KEYED_EXTERNAL_ARRAY_STORE_IC:
1640 description = "A keyed external array store IC from the snapshot";
1641 tag = Logger::KEYED_EXTERNAL_ARRAY_STORE_IC_TAG;
1642 break;
1643 case Code::CALL_IC: 1635 case Code::CALL_IC:
1644 description = "A call IC from the snapshot"; 1636 description = "A call IC from the snapshot";
1645 tag = Logger::CALL_IC_TAG; 1637 tag = Logger::CALL_IC_TAG;
1646 break; 1638 break;
1647 case Code::KEYED_CALL_IC: 1639 case Code::KEYED_CALL_IC:
1648 description = "A keyed call IC from the snapshot"; 1640 description = "A keyed call IC from the snapshot";
1649 tag = Logger::KEYED_CALL_IC_TAG; 1641 tag = Logger::KEYED_CALL_IC_TAG;
1650 break; 1642 break;
1651 } 1643 }
1652 PROFILE(ISOLATE, CodeCreateEvent(tag, code_object, description)); 1644 PROFILE(ISOLATE, CodeCreateEvent(tag, code_object, description));
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
1990 void SamplerRegistry::RemoveActiveSampler(Sampler* sampler) { 1982 void SamplerRegistry::RemoveActiveSampler(Sampler* sampler) {
1991 ASSERT(sampler->IsActive()); 1983 ASSERT(sampler->IsActive());
1992 ScopedLock lock(mutex_); 1984 ScopedLock lock(mutex_);
1993 ASSERT(active_samplers_ != NULL); 1985 ASSERT(active_samplers_ != NULL);
1994 bool removed = active_samplers_->RemoveElement(sampler); 1986 bool removed = active_samplers_->RemoveElement(sampler);
1995 ASSERT(removed); 1987 ASSERT(removed);
1996 USE(removed); 1988 USE(removed);
1997 } 1989 }
1998 1990
1999 } } // namespace v8::internal 1991 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/log.h ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698