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

Side by Side Diff: src/handles.h

Issue 48913008: Remove calls to JSObject::SetLocalPropertyIgnoreAttributesTrampoline within objects.cc (Closed) Base URL: https://github.com/v8/v8.git@bleeding_edge
Patch Set: moar Created 7 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
« no previous file with comments | « no previous file | src/handles.cc » ('j') | src/objects.h » ('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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 296
297 // Computes the union of keys and return the result. 297 // Computes the union of keys and return the result.
298 // Used for implementing "for (n in object) { }" 298 // Used for implementing "for (n in object) { }"
299 Handle<FixedArray> UnionOfKeys(Handle<FixedArray> first, 299 Handle<FixedArray> UnionOfKeys(Handle<FixedArray> first,
300 Handle<FixedArray> second); 300 Handle<FixedArray> second);
301 301
302 Handle<JSGlobalProxy> ReinitializeJSGlobalProxy( 302 Handle<JSGlobalProxy> ReinitializeJSGlobalProxy(
303 Handle<JSFunction> constructor, 303 Handle<JSFunction> constructor,
304 Handle<JSGlobalProxy> global); 304 Handle<JSGlobalProxy> global);
305 305
306 Handle<ObjectHashSet> ObjectHashSetAdd(Handle<ObjectHashSet> table,
307 Handle<Object> key);
308
309 Handle<ObjectHashSet> ObjectHashSetRemove(Handle<ObjectHashSet> table,
310 Handle<Object> key);
311
312 Handle<ObjectHashTable> PutIntoObjectHashTable(Handle<ObjectHashTable> table, 306 Handle<ObjectHashTable> PutIntoObjectHashTable(Handle<ObjectHashTable> table,
313 Handle<Object> key, 307 Handle<Object> key,
314 Handle<Object> value); 308 Handle<Object> value);
315 309
316 void AddWeakObjectToCodeDependency(Heap* heap, 310 void AddWeakObjectToCodeDependency(Heap* heap,
317 Handle<Object> object, 311 Handle<Object> object,
318 Handle<Code> code); 312 Handle<Code> code);
319 313
320 // Seal off the current HandleScope so that new handles can only be created 314 // Seal off the current HandleScope so that new handles can only be created
321 // if a new HandleScope is entered. 315 // if a new HandleScope is entered.
322 class SealHandleScope BASE_EMBEDDED { 316 class SealHandleScope BASE_EMBEDDED {
323 public: 317 public:
324 #ifndef DEBUG 318 #ifndef DEBUG
325 explicit SealHandleScope(Isolate* isolate) {} 319 explicit SealHandleScope(Isolate* isolate) {}
326 ~SealHandleScope() {} 320 ~SealHandleScope() {}
327 #else 321 #else
328 explicit inline SealHandleScope(Isolate* isolate); 322 explicit inline SealHandleScope(Isolate* isolate);
329 inline ~SealHandleScope(); 323 inline ~SealHandleScope();
330 private: 324 private:
331 Isolate* isolate_; 325 Isolate* isolate_;
332 Object** limit_; 326 Object** limit_;
333 int level_; 327 int level_;
334 #endif 328 #endif
335 }; 329 };
336 330
337 } } // namespace v8::internal 331 } } // namespace v8::internal
338 332
339 #endif // V8_HANDLES_H_ 333 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « no previous file | src/handles.cc » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698