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

Side by Side Diff: src/handles.h

Issue 6992072: Implement set trap for proxies, and revamp class hierarchy in preparation (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review. Created 9 years, 6 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/contexts.h ('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 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 Handle<Object> value, 178 Handle<Object> value,
179 PropertyDetails details); 179 PropertyDetails details);
180 180
181 // Flattens a string. 181 // Flattens a string.
182 void FlattenString(Handle<String> str); 182 void FlattenString(Handle<String> str);
183 183
184 // Flattens a string and returns the underlying external or sequential 184 // Flattens a string and returns the underlying external or sequential
185 // string. 185 // string.
186 Handle<String> FlattenGetString(Handle<String> str); 186 Handle<String> FlattenGetString(Handle<String> str);
187 187
188 Handle<Object> SetProperty(Handle<JSObject> object, 188 Handle<Object> SetProperty(Handle<JSReceiver> object,
189 Handle<String> key, 189 Handle<String> key,
190 Handle<Object> value, 190 Handle<Object> value,
191 PropertyAttributes attributes, 191 PropertyAttributes attributes,
192 StrictModeFlag strict_mode); 192 StrictModeFlag strict_mode);
193 193
194 Handle<Object> SetProperty(Handle<Object> object, 194 Handle<Object> SetProperty(Handle<Object> object,
195 Handle<Object> key, 195 Handle<Object> key,
196 Handle<Object> value, 196 Handle<Object> value,
197 PropertyAttributes attributes, 197 PropertyAttributes attributes,
198 StrictModeFlag strict_mode); 198 StrictModeFlag strict_mode);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 MUST_USE_RESULT Handle<Object> SetElement(Handle<JSObject> object, 232 MUST_USE_RESULT Handle<Object> SetElement(Handle<JSObject> object,
233 uint32_t index, 233 uint32_t index,
234 Handle<Object> value, 234 Handle<Object> value,
235 StrictModeFlag strict_mode); 235 StrictModeFlag strict_mode);
236 236
237 Handle<Object> SetOwnElement(Handle<JSObject> object, 237 Handle<Object> SetOwnElement(Handle<JSObject> object,
238 uint32_t index, 238 uint32_t index,
239 Handle<Object> value, 239 Handle<Object> value,
240 StrictModeFlag strict_mode); 240 StrictModeFlag strict_mode);
241 241
242 Handle<Object> GetProperty(Handle<JSObject> obj, 242 Handle<Object> GetProperty(Handle<JSReceiver> obj,
243 const char* name); 243 const char* name);
244 244
245 Handle<Object> GetProperty(Handle<Object> obj, 245 Handle<Object> GetProperty(Handle<Object> obj,
246 const char* name,
247 LookupResult* result);
248
249 Handle<Object> GetProperty(Handle<Object> obj,
250 Handle<Object> key); 246 Handle<Object> key);
251 247
252 Handle<Object> GetProperty(Handle<JSObject> obj, 248 Handle<Object> GetProperty(Handle<JSReceiver> obj,
253 Handle<String> name, 249 Handle<String> name,
254 LookupResult* result); 250 LookupResult* result);
255 251
256 252
257 Handle<Object> GetElement(Handle<Object> obj, 253 Handle<Object> GetElement(Handle<Object> obj,
258 uint32_t index); 254 uint32_t index);
259 255
260 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, 256 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver,
261 Handle<JSObject> holder, 257 Handle<JSObject> holder,
262 Handle<String> name, 258 Handle<String> name,
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 inline NoHandleAllocation(); 369 inline NoHandleAllocation();
374 inline ~NoHandleAllocation(); 370 inline ~NoHandleAllocation();
375 private: 371 private:
376 int level_; 372 int level_;
377 #endif 373 #endif
378 }; 374 };
379 375
380 } } // namespace v8::internal 376 } } // namespace v8::internal
381 377
382 #endif // V8_HANDLES_H_ 378 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698