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

Side by Side Diff: src/handles.h

Issue 22934006: Handlify JSObject::DeepCopy method. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Toon Verwaest. Created 7 years, 3 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') | 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 248
249 Handle<Object> GetProperty(Handle<JSReceiver> obj, const char* name); 249 Handle<Object> GetProperty(Handle<JSReceiver> obj, const char* name);
250 250
251 Handle<Object> GetProperty(Isolate* isolate, 251 Handle<Object> GetProperty(Isolate* isolate,
252 Handle<Object> obj, 252 Handle<Object> obj,
253 Handle<Object> key); 253 Handle<Object> key);
254 254
255 Handle<Object> LookupSingleCharacterStringFromCode(Isolate* isolate, 255 Handle<Object> LookupSingleCharacterStringFromCode(Isolate* isolate,
256 uint32_t index); 256 uint32_t index);
257 257
258 Handle<JSObject> Copy(Handle<JSObject> obj);
259
260 Handle<JSObject> DeepCopy(Handle<JSObject> obj);
261
262 Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info); 258 Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info);
263 259
264 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, 260 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>,
265 Handle<JSArray> array); 261 Handle<JSArray> array);
266 262
267 // Get the JS object corresponding to the given script; create it 263 // Get the JS object corresponding to the given script; create it
268 // if none exists. 264 // if none exists.
269 Handle<JSValue> GetScriptWrapper(Handle<Script> script); 265 Handle<JSValue> GetScriptWrapper(Handle<Script> script);
270 266
271 // Script line number computations. Note that the line number is zero-based. 267 // Script line number computations. Note that the line number is zero-based.
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 private: 345 private:
350 Isolate* isolate_; 346 Isolate* isolate_;
351 Object** limit_; 347 Object** limit_;
352 int level_; 348 int level_;
353 #endif 349 #endif
354 }; 350 };
355 351
356 } } // namespace v8::internal 352 } } // namespace v8::internal
357 353
358 #endif // V8_HANDLES_H_ 354 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698