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

Side by Side Diff: src/objects.h

Issue 258953009: Refactor calls to CALL_HEAP_FUNCTION. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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/isolate.cc ('k') | src/objects.cc » ('j') | src/objects.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 2640 matching lines...) Expand 10 before | Expand all | Expand 10 after
2651 2651
2652 // Called the first time an object is observed with ES7 Object.observe. 2652 // Called the first time an object is observed with ES7 Object.observe.
2653 static void SetObserved(Handle<JSObject> object); 2653 static void SetObserved(Handle<JSObject> object);
2654 2654
2655 // Copy object. 2655 // Copy object.
2656 enum DeepCopyHints { 2656 enum DeepCopyHints {
2657 kNoHints = 0, 2657 kNoHints = 0,
2658 kObjectIsShallowArray = 1 2658 kObjectIsShallowArray = 1
2659 }; 2659 };
2660 2660
2661 static Handle<JSObject> Copy(Handle<JSObject> object,
2662 Handle<AllocationSite> site);
2663 static Handle<JSObject> Copy(Handle<JSObject> object); 2661 static Handle<JSObject> Copy(Handle<JSObject> object);
2664 MUST_USE_RESULT static MaybeHandle<JSObject> DeepCopy( 2662 MUST_USE_RESULT static MaybeHandle<JSObject> DeepCopy(
2665 Handle<JSObject> object, 2663 Handle<JSObject> object,
2666 AllocationSiteUsageContext* site_context, 2664 AllocationSiteUsageContext* site_context,
2667 DeepCopyHints hints = kNoHints); 2665 DeepCopyHints hints = kNoHints);
2668 MUST_USE_RESULT static MaybeHandle<JSObject> DeepWalk( 2666 MUST_USE_RESULT static MaybeHandle<JSObject> DeepWalk(
2669 Handle<JSObject> object, 2667 Handle<JSObject> object,
2670 AllocationSiteCreationContext* site_context); 2668 AllocationSiteCreationContext* site_context);
2671 2669
2672 static Handle<Object> GetDataProperty(Handle<JSObject> object, 2670 static Handle<Object> GetDataProperty(Handle<JSObject> object,
(...skipping 8560 matching lines...) Expand 10 before | Expand all | Expand 10 after
11233 } else { 11231 } else {
11234 value &= ~(1 << bit_position); 11232 value &= ~(1 << bit_position);
11235 } 11233 }
11236 return value; 11234 return value;
11237 } 11235 }
11238 }; 11236 };
11239 11237
11240 } } // namespace v8::internal 11238 } } // namespace v8::internal
11241 11239
11242 #endif // V8_OBJECTS_H_ 11240 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/objects.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698