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

Side by Side Diff: regexp2000/src/factory.h

Issue 11271: Building on regexp-ia32. (Closed)
Patch Set: Made it compile correctly. Created 12 years, 1 month 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 static Handle<Script> NewScript(Handle<String> source); 140 static Handle<Script> NewScript(Handle<String> source);
141 141
142 // Proxies are pretenured when allocated by the bootstrapper. 142 // Proxies are pretenured when allocated by the bootstrapper.
143 static Handle<Proxy> NewProxy(Address addr, 143 static Handle<Proxy> NewProxy(Address addr,
144 PretenureFlag pretenure = NOT_TENURED); 144 PretenureFlag pretenure = NOT_TENURED);
145 145
146 // Allocate a new proxy. The proxy is pretenured (allocated directly in 146 // Allocate a new proxy. The proxy is pretenured (allocated directly in
147 // the old generation). 147 // the old generation).
148 static Handle<Proxy> NewProxy(const AccessorDescriptor* proxy); 148 static Handle<Proxy> NewProxy(const AccessorDescriptor* proxy);
149 149
150 static Handle<ByteArray> NewByteArray(int length); 150 static Handle<ByteArray> NewByteArray(int length,
151 PretenureFlag pretenure = NOT_TENURED);
151 152
152 static Handle<Map> NewMap(InstanceType type, int instance_size); 153 static Handle<Map> NewMap(InstanceType type, int instance_size);
153 154
154 static Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function); 155 static Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function);
155 156
156 static Handle<Map> CopyMap(Handle<Map> map); 157 static Handle<Map> CopyMap(Handle<Map> map);
157 158
158 static Handle<Map> CopyMapDropTransitions(Handle<Map> map); 159 static Handle<Map> CopyMapDropTransitions(Handle<Map> map);
159 160
160 static Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); 161 static Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array);
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 // Update the map cache in the global context with (keys, map) 344 // Update the map cache in the global context with (keys, map)
344 static Handle<MapCache> AddToMapCache(Handle<Context> context, 345 static Handle<MapCache> AddToMapCache(Handle<Context> context,
345 Handle<FixedArray> keys, 346 Handle<FixedArray> keys,
346 Handle<Map> map); 347 Handle<Map> map);
347 }; 348 };
348 349
349 350
350 } } // namespace v8::internal 351 } } // namespace v8::internal
351 352
352 #endif // V8_FACTORY_H_ 353 #endif // V8_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698