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

Side by Side Diff: src/handles.h

Issue 8372027: Implement Harmony sets and maps. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Andreas Rossberg. Created 9 years, 1 month 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
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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 334
335 Handle<JSGlobalProxy> ReinitializeJSGlobalProxy( 335 Handle<JSGlobalProxy> ReinitializeJSGlobalProxy(
336 Handle<JSFunction> constructor, 336 Handle<JSFunction> constructor,
337 Handle<JSGlobalProxy> global); 337 Handle<JSGlobalProxy> global);
338 338
339 Handle<Object> SetPrototype(Handle<JSFunction> function, 339 Handle<Object> SetPrototype(Handle<JSFunction> function,
340 Handle<Object> prototype); 340 Handle<Object> prototype);
341 341
342 Handle<Object> PreventExtensions(Handle<JSObject> object); 342 Handle<Object> PreventExtensions(Handle<JSObject> object);
343 343
344 Handle<ObjectHashSet> ObjectHashSetAdd(Handle<ObjectHashSet> table,
345 Handle<Object> key);
346
347 Handle<ObjectHashSet> ObjectHashSetRemove(Handle<ObjectHashSet> table,
348 Handle<Object> key);
349
344 Handle<ObjectHashTable> PutIntoObjectHashTable(Handle<ObjectHashTable> table, 350 Handle<ObjectHashTable> PutIntoObjectHashTable(Handle<ObjectHashTable> table,
345 Handle<JSReceiver> key, 351 Handle<Object> key,
346 Handle<Object> value); 352 Handle<Object> value);
347 353
348 class NoHandleAllocation BASE_EMBEDDED { 354 class NoHandleAllocation BASE_EMBEDDED {
349 public: 355 public:
350 #ifndef DEBUG 356 #ifndef DEBUG
351 NoHandleAllocation() {} 357 NoHandleAllocation() {}
352 ~NoHandleAllocation() {} 358 ~NoHandleAllocation() {}
353 #else 359 #else
354 inline NoHandleAllocation(); 360 inline NoHandleAllocation();
355 inline ~NoHandleAllocation(); 361 inline ~NoHandleAllocation();
356 private: 362 private:
357 int level_; 363 int level_;
358 #endif 364 #endif
359 }; 365 };
360 366
361 } } // namespace v8::internal 367 } } // namespace v8::internal
362 368
363 #endif // V8_HANDLES_H_ 369 #endif // V8_HANDLES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698