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

Side by Side Diff: src/handles.h

Issue 18089024: Handlify JSObject::SetPrototype method. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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/api.cc ('k') | src/handles.cc » ('j') | src/objects.cc » ('J')
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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, 243 Handle<Object> GetProperty(Isolate* isolate,
244 Handle<Object> obj, 244 Handle<Object> obj,
245 Handle<Object> key); 245 Handle<Object> key);
246 246
247 Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value);
248
249 Handle<Object> LookupSingleCharacterStringFromCode(Isolate* isolate, 247 Handle<Object> LookupSingleCharacterStringFromCode(Isolate* isolate,
250 uint32_t index); 248 uint32_t index);
251 249
252 Handle<JSObject> Copy(Handle<JSObject> obj); 250 Handle<JSObject> Copy(Handle<JSObject> obj);
253 251
254 Handle<JSObject> DeepCopy(Handle<JSObject> obj); 252 Handle<JSObject> DeepCopy(Handle<JSObject> obj);
255 253
256 Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info); 254 Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info);
257 255
258 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, 256 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 private: 344 private:
347 Isolate* isolate_; 345 Isolate* isolate_;
348 Object** limit_; 346 Object** limit_;
349 int level_; 347 int level_;
350 #endif 348 #endif
351 }; 349 };
352 350
353 } } // namespace v8::internal 351 } } // namespace v8::internal
354 352
355 #endif // V8_HANDLES_H_ 353 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/handles.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698