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

Side by Side Diff: src/objects.h

Issue 27335002: Handlify GetPropertyWithCallback. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: inline and remove schedule exception check Created 7 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 | « no previous file | src/objects.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 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 2108 matching lines...) Expand 10 before | Expand all | Expand 10 after
2119 MUST_USE_RESULT MaybeObject* PrepareElementsForSort(uint32_t limit); 2119 MUST_USE_RESULT MaybeObject* PrepareElementsForSort(uint32_t limit);
2120 // As PrepareElementsForSort, but only on objects where elements is 2120 // As PrepareElementsForSort, but only on objects where elements is
2121 // a dictionary, and it will stay a dictionary. 2121 // a dictionary, and it will stay a dictionary.
2122 MUST_USE_RESULT MaybeObject* PrepareSlowElementsForSort(uint32_t limit); 2122 MUST_USE_RESULT MaybeObject* PrepareSlowElementsForSort(uint32_t limit);
2123 2123
2124 static Handle<Object> GetPropertyWithCallback(Handle<JSObject> object, 2124 static Handle<Object> GetPropertyWithCallback(Handle<JSObject> object,
2125 Handle<Object> receiver, 2125 Handle<Object> receiver,
2126 Handle<Object> structure, 2126 Handle<Object> structure,
2127 Handle<Name> name); 2127 Handle<Name> name);
2128 2128
2129 MUST_USE_RESULT MaybeObject* GetPropertyWithCallback(Object* receiver,
2130 Object* structure,
2131 Name* name);
2132
2133 static Handle<Object> SetPropertyWithCallback( 2129 static Handle<Object> SetPropertyWithCallback(
2134 Handle<JSObject> object, 2130 Handle<JSObject> object,
2135 Handle<Object> structure, 2131 Handle<Object> structure,
2136 Handle<Name> name, 2132 Handle<Name> name,
2137 Handle<Object> value, 2133 Handle<Object> value,
2138 Handle<JSObject> holder, 2134 Handle<JSObject> holder,
2139 StrictModeFlag strict_mode); 2135 StrictModeFlag strict_mode);
2140 2136
2141 static Handle<Object> SetPropertyWithInterceptor( 2137 static Handle<Object> SetPropertyWithInterceptor(
2142 Handle<JSObject> object, 2138 Handle<JSObject> object,
(...skipping 8264 matching lines...) Expand 10 before | Expand all | Expand 10 after
10407 } else { 10403 } else {
10408 value &= ~(1 << bit_position); 10404 value &= ~(1 << bit_position);
10409 } 10405 }
10410 return value; 10406 return value;
10411 } 10407 }
10412 }; 10408 };
10413 10409
10414 } } // namespace v8::internal 10410 } } // namespace v8::internal
10415 10411
10416 #endif // V8_OBJECTS_H_ 10412 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698