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

Side by Side Diff: src/factory.h

Issue 272043: Remove a redundant field in the FunctionLiteral class. The boolean... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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/compiler.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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 258
259 static Handle<JSFunction> NewFunction(Handle<String> name, 259 static Handle<JSFunction> NewFunction(Handle<String> name,
260 InstanceType type, 260 InstanceType type,
261 int instance_size, 261 int instance_size,
262 Handle<Code> code, 262 Handle<Code> code,
263 bool force_initial_map); 263 bool force_initial_map);
264 264
265 static Handle<JSFunction> NewFunctionBoilerplate(Handle<String> name, 265 static Handle<JSFunction> NewFunctionBoilerplate(Handle<String> name,
266 int number_of_literals, 266 int number_of_literals,
267 bool contains_array_literal,
268 Handle<Code> code); 267 Handle<Code> code);
269 268
270 static Handle<JSFunction> NewFunctionBoilerplate(Handle<String> name); 269 static Handle<JSFunction> NewFunctionBoilerplate(Handle<String> name);
271 270
272 static Handle<JSFunction> NewFunction(Handle<Map> function_map, 271 static Handle<JSFunction> NewFunction(Handle<Map> function_map,
273 Handle<SharedFunctionInfo> shared, Handle<Object> prototype); 272 Handle<SharedFunctionInfo> shared, Handle<Object> prototype);
274 273
275 274
276 static Handle<JSFunction> NewFunctionWithPrototype(Handle<String> name, 275 static Handle<JSFunction> NewFunctionWithPrototype(Handle<String> name,
277 InstanceType type, 276 InstanceType type,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 // Update the map cache in the global context with (keys, map) 376 // Update the map cache in the global context with (keys, map)
378 static Handle<MapCache> AddToMapCache(Handle<Context> context, 377 static Handle<MapCache> AddToMapCache(Handle<Context> context,
379 Handle<FixedArray> keys, 378 Handle<FixedArray> keys,
380 Handle<Map> map); 379 Handle<Map> map);
381 }; 380 };
382 381
383 382
384 } } // namespace v8::internal 383 } } // namespace v8::internal
385 384
386 #endif // V8_FACTORY_H_ 385 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698