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

Side by Side Diff: src/handles.h

Issue 7863: - Optimized CopyFixedArray and CopyJSObject. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 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/codegen-ia32.cc ('k') | src/handles.cc » ('j') | src/heap.cc » ('J')
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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 Handle<String> name, 137 Handle<String> name,
138 PropertyAttributes* attributes); 138 PropertyAttributes* attributes);
139 139
140 Handle<Object> GetPrototype(Handle<Object> obj); 140 Handle<Object> GetPrototype(Handle<Object> obj);
141 141
142 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index); 142 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index);
143 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop); 143 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop);
144 144
145 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index); 145 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index);
146 146
147 Handle<JSObject> Copy(Handle<JSObject> obj, PretenureFlag = NOT_TENURED); 147 Handle<JSObject> Copy(Handle<JSObject> obj);
148 148
149 // Get the JS object corresponding to the given script; create it 149 // Get the JS object corresponding to the given script; create it
150 // if none exists. 150 // if none exists.
151 Handle<JSValue> GetScriptWrapper(Handle<Script> script); 151 Handle<JSValue> GetScriptWrapper(Handle<Script> script);
152 152
153 // Computes the enumerable keys from interceptors. Used for debug mirrors and 153 // Computes the enumerable keys from interceptors. Used for debug mirrors and
154 // by GetKeysInFixedArrayFor below. 154 // by GetKeysInFixedArrayFor below.
155 v8::Handle<v8::Array> GetKeysForNamedInterceptor(Handle<JSObject> receiver, 155 v8::Handle<v8::Array> GetKeysForNamedInterceptor(Handle<JSObject> receiver,
156 Handle<JSObject> object); 156 Handle<JSObject> object);
157 v8::Handle<v8::Array> GetKeysForIndexedInterceptor(Handle<JSObject> receiver, 157 v8::Handle<v8::Array> GetKeysForIndexedInterceptor(Handle<JSObject> receiver,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 private: 232 private:
233 bool has_been_transformed_; // Tells whether the object has been transformed. 233 bool has_been_transformed_; // Tells whether the object has been transformed.
234 int unused_property_fields_; // Captures the unused number of field. 234 int unused_property_fields_; // Captures the unused number of field.
235 Handle<JSObject> object_; // The object being optimized. 235 Handle<JSObject> object_; // The object being optimized.
236 }; 236 };
237 237
238 238
239 } } // namespace v8::internal 239 } } // namespace v8::internal
240 240
241 #endif // V8_HANDLES_H_ 241 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/codegen-ia32.cc ('k') | src/handles.cc » ('j') | src/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698