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

Side by Side Diff: src/factory.h

Issue 9403009: Count ICs that have type information. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix confusing --trace-opt output Created 8 years, 10 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 | « include/v8.h ('k') | src/factory.cc » ('j') | src/objects-inl.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); 69 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors);
70 Handle<DeoptimizationInputData> NewDeoptimizationInputData( 70 Handle<DeoptimizationInputData> NewDeoptimizationInputData(
71 int deopt_entry_count, 71 int deopt_entry_count,
72 PretenureFlag pretenure); 72 PretenureFlag pretenure);
73 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( 73 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData(
74 int deopt_entry_count, 74 int deopt_entry_count,
75 PretenureFlag pretenure); 75 PretenureFlag pretenure);
76 // Allocates a pre-tenured empty AccessorPair. 76 // Allocates a pre-tenured empty AccessorPair.
77 Handle<AccessorPair> NewAccessorPair(); 77 Handle<AccessorPair> NewAccessorPair();
78 78
79 Handle<TypeFeedbackInfo> NewTypeFeedbackInfo();
80
79 Handle<String> LookupSymbol(Vector<const char> str); 81 Handle<String> LookupSymbol(Vector<const char> str);
80 Handle<String> LookupSymbol(Handle<String> str); 82 Handle<String> LookupSymbol(Handle<String> str);
81 Handle<String> LookupAsciiSymbol(Vector<const char> str); 83 Handle<String> LookupAsciiSymbol(Vector<const char> str);
82 Handle<String> LookupAsciiSymbol(Handle<SeqAsciiString>, 84 Handle<String> LookupAsciiSymbol(Handle<SeqAsciiString>,
83 int from, 85 int from,
84 int length); 86 int length);
85 Handle<String> LookupTwoByteSymbol(Vector<const uc16> str); 87 Handle<String> LookupTwoByteSymbol(Vector<const uc16> str);
86 Handle<String> LookupAsciiSymbol(const char* str) { 88 Handle<String> LookupAsciiSymbol(const char* str) {
87 return LookupSymbol(CStrVector(str)); 89 return LookupSymbol(CStrVector(str));
88 } 90 }
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 // Update the map cache in the global context with (keys, map) 503 // Update the map cache in the global context with (keys, map)
502 Handle<MapCache> AddToMapCache(Handle<Context> context, 504 Handle<MapCache> AddToMapCache(Handle<Context> context,
503 Handle<FixedArray> keys, 505 Handle<FixedArray> keys,
504 Handle<Map> map); 506 Handle<Map> map);
505 }; 507 };
506 508
507 509
508 } } // namespace v8::internal 510 } } // namespace v8::internal
509 511
510 #endif // V8_FACTORY_H_ 512 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/factory.cc » ('j') | src/objects-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698