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

Side by Side Diff: src/factory.h

Issue 9152001: Introduce a new AccessorPair type for handling JavaScript accessors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 8 years, 11 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/bootstrapper.cc ('k') | src/factory.cc » ('j') | src/heap.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 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
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for); 63 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for);
64 64
65 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); 65 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors);
66 Handle<DeoptimizationInputData> NewDeoptimizationInputData( 66 Handle<DeoptimizationInputData> NewDeoptimizationInputData(
67 int deopt_entry_count, 67 int deopt_entry_count,
68 PretenureFlag pretenure); 68 PretenureFlag pretenure);
69 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( 69 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData(
70 int deopt_entry_count, 70 int deopt_entry_count,
71 PretenureFlag pretenure); 71 PretenureFlag pretenure);
72 Handle<AccessorPair> NewAccessorPair();
Kevin Millikin (Chromium) 2012/01/10 08:57:30 Maybe a comment here and also in heap.h about why
Sven Panne 2012/01/10 09:45:03 Done.
72 73
73 Handle<String> LookupSymbol(Vector<const char> str); 74 Handle<String> LookupSymbol(Vector<const char> str);
74 Handle<String> LookupSymbol(Handle<String> str); 75 Handle<String> LookupSymbol(Handle<String> str);
75 Handle<String> LookupAsciiSymbol(Vector<const char> str); 76 Handle<String> LookupAsciiSymbol(Vector<const char> str);
76 Handle<String> LookupAsciiSymbol(Handle<SeqAsciiString>, 77 Handle<String> LookupAsciiSymbol(Handle<SeqAsciiString>,
77 int from, 78 int from,
78 int length); 79 int length);
79 Handle<String> LookupTwoByteSymbol(Vector<const uc16> str); 80 Handle<String> LookupTwoByteSymbol(Vector<const uc16> str);
80 Handle<String> LookupAsciiSymbol(const char* str) { 81 Handle<String> LookupAsciiSymbol(const char* str) {
81 return LookupSymbol(CStrVector(str)); 82 return LookupSymbol(CStrVector(str));
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 // Update the map cache in the global context with (keys, map) 489 // Update the map cache in the global context with (keys, map)
489 Handle<MapCache> AddToMapCache(Handle<Context> context, 490 Handle<MapCache> AddToMapCache(Handle<Context> context,
490 Handle<FixedArray> keys, 491 Handle<FixedArray> keys,
491 Handle<Map> map); 492 Handle<Map> map);
492 }; 493 };
493 494
494 495
495 } } // namespace v8::internal 496 } } // namespace v8::internal
496 497
497 #endif // V8_FACTORY_H_ 498 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/factory.cc » ('j') | src/heap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698