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

Side by Side Diff: src/factory.h

Issue 246077: Changed Object.keys to return strings for element indices. (Closed)
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
« no previous file with comments | « no previous file | 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 Handle<JSObject> prototype, 279 Handle<JSObject> prototype,
280 Handle<Code> code, 280 Handle<Code> code,
281 bool force_initial_map); 281 bool force_initial_map);
282 282
283 static Handle<DescriptorArray> CopyAppendProxyDescriptor( 283 static Handle<DescriptorArray> CopyAppendProxyDescriptor(
284 Handle<DescriptorArray> array, 284 Handle<DescriptorArray> array,
285 Handle<String> key, 285 Handle<String> key,
286 Handle<Object> value, 286 Handle<Object> value,
287 PropertyAttributes attributes); 287 PropertyAttributes attributes);
288 288
289 static Handle<String> NumberToString(Handle<Object> number);
290
289 enum ApiInstanceType { 291 enum ApiInstanceType {
290 JavaScriptObject, 292 JavaScriptObject,
291 InnerGlobalObject, 293 InnerGlobalObject,
292 OuterGlobalObject 294 OuterGlobalObject
293 }; 295 };
294 296
295 static Handle<JSFunction> CreateApiFunction( 297 static Handle<JSFunction> CreateApiFunction(
296 Handle<FunctionTemplateInfo> data, 298 Handle<FunctionTemplateInfo> data,
297 ApiInstanceType type = JavaScriptObject); 299 ApiInstanceType type = JavaScriptObject);
298 300
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 // Update the map cache in the global context with (keys, map) 377 // Update the map cache in the global context with (keys, map)
376 static Handle<MapCache> AddToMapCache(Handle<Context> context, 378 static Handle<MapCache> AddToMapCache(Handle<Context> context,
377 Handle<FixedArray> keys, 379 Handle<FixedArray> keys,
378 Handle<Map> map); 380 Handle<Map> map);
379 }; 381 };
380 382
381 383
382 } } // namespace v8::internal 384 } } // namespace v8::internal
383 385
384 #endif // V8_FACTORY_H_ 386 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698