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

Side by Side Diff: src/handles.h

Issue 210953005: Clean up some "GetProperty" methods/functions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 6 years, 8 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/execution.cc ('k') | src/handles.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 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 PropertyAttributes attributes); 233 PropertyAttributes attributes);
234 234
235 Handle<Object> DeleteProperty(Handle<JSObject> object, Handle<Object> key); 235 Handle<Object> DeleteProperty(Handle<JSObject> object, Handle<Object> key);
236 236
237 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, Handle<Object> key); 237 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, Handle<Object> key);
238 238
239 Handle<Object> HasProperty(Handle<JSReceiver> obj, Handle<Object> key); 239 Handle<Object> HasProperty(Handle<JSReceiver> obj, Handle<Object> key);
240 240
241 Handle<Object> GetProperty(Handle<JSReceiver> obj, const char* name); 241 Handle<Object> GetProperty(Handle<JSReceiver> obj, const char* name);
242 242
243 Handle<Object> GetProperty(Isolate* isolate,
244 Handle<Object> obj,
245 Handle<Object> key);
246
247 Handle<String> LookupSingleCharacterStringFromCode(Isolate* isolate, 243 Handle<String> LookupSingleCharacterStringFromCode(Isolate* isolate,
248 uint32_t index); 244 uint32_t index);
249 245
250 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, 246 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>,
251 Handle<JSArray> array); 247 Handle<JSArray> array);
252 248
253 // Get the JS object corresponding to the given script; create it 249 // Get the JS object corresponding to the given script; create it
254 // if none exists. 250 // if none exists.
255 Handle<JSValue> GetScriptWrapper(Handle<Script> script); 251 Handle<JSValue> GetScriptWrapper(Handle<Script> script);
256 252
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 319
324 void Initialize() { 320 void Initialize() {
325 next = limit = NULL; 321 next = limit = NULL;
326 level = 0; 322 level = 0;
327 } 323 }
328 }; 324 };
329 325
330 } } // namespace v8::internal 326 } } // namespace v8::internal
331 327
332 #endif // V8_HANDLES_H_ 328 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/execution.cc ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698