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

Side by Side Diff: src/factory.h

Issue 7366: Split window support from V8. ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years, 2 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/debug.cc ('k') | src/factory.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 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 Handle<JSObject> prototype, 258 Handle<JSObject> prototype,
259 Handle<Code> code, 259 Handle<Code> code,
260 bool force_initial_map); 260 bool force_initial_map);
261 261
262 static Handle<DescriptorArray> CopyAppendProxyDescriptor( 262 static Handle<DescriptorArray> CopyAppendProxyDescriptor(
263 Handle<DescriptorArray> array, 263 Handle<DescriptorArray> array,
264 Handle<String> key, 264 Handle<String> key,
265 Handle<Object> value, 265 Handle<Object> value,
266 PropertyAttributes attributes); 266 PropertyAttributes attributes);
267 267
268 static Handle<JSFunction> CreateApiFunction(Handle<FunctionTemplateInfo> data, 268 enum ApiInstanceType {
269 bool is_global = false); 269 JavaScriptObject,
270 InnerGlobalObject,
271 OuterGlobalObject
272 };
273
274 static Handle<JSFunction> CreateApiFunction(
275 Handle<FunctionTemplateInfo> data,
276 ApiInstanceType type = JavaScriptObject);
270 277
271 static Handle<JSFunction> InstallMembers(Handle<JSFunction> function); 278 static Handle<JSFunction> InstallMembers(Handle<JSFunction> function);
272 279
273 // Installs interceptors on the instance. 'desc' is a function template, 280 // Installs interceptors on the instance. 'desc' is a function template,
274 // and instance is an object instance created by the function of this 281 // and instance is an object instance created by the function of this
275 // function tempalte. 282 // function tempalte.
276 static void ConfigureInstance(Handle<FunctionTemplateInfo> desc, 283 static void ConfigureInstance(Handle<FunctionTemplateInfo> desc,
277 Handle<JSObject> instance, 284 Handle<JSObject> instance,
278 bool* pending_exception); 285 bool* pending_exception);
279 286
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 // Update the map cache in the global context with (keys, map) 326 // Update the map cache in the global context with (keys, map)
320 static Handle<MapCache> AddToMapCache(Handle<Context> context, 327 static Handle<MapCache> AddToMapCache(Handle<Context> context,
321 Handle<FixedArray> keys, 328 Handle<FixedArray> keys,
322 Handle<Map> map); 329 Handle<Map> map);
323 }; 330 };
324 331
325 332
326 } } // namespace v8::internal 333 } } // namespace v8::internal
327 334
328 #endif // V8_FACTORY_H_ 335 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698