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

Side by Side Diff: src/objects.h

Issue 7991007: Search prototypes for accessor setters if interceptor returns empty value. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 3 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') | src/objects.cc » ('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 1987 matching lines...) Expand 10 before | Expand all | Expand 10 after
1998 MUST_USE_RESULT MaybeObject* SetElementWithInterceptor( 1998 MUST_USE_RESULT MaybeObject* SetElementWithInterceptor(
1999 uint32_t index, 1999 uint32_t index,
2000 Object* value, 2000 Object* value,
2001 StrictModeFlag strict_mode, 2001 StrictModeFlag strict_mode,
2002 bool check_prototype); 2002 bool check_prototype);
2003 MUST_USE_RESULT MaybeObject* SetElementWithoutInterceptor( 2003 MUST_USE_RESULT MaybeObject* SetElementWithoutInterceptor(
2004 uint32_t index, 2004 uint32_t index,
2005 Object* value, 2005 Object* value,
2006 StrictModeFlag strict_mode, 2006 StrictModeFlag strict_mode,
2007 bool check_prototype); 2007 bool check_prototype);
2008 2008
Rico 2011/09/26 10:37:36 Could we add a comment here stating that this may
ulan 2011/09/26 12:56:07 Done.
2009 MUST_USE_RESULT MaybeObject* SetPropertyInPrototypes(
Rico 2011/09/26 10:37:36 could we use a more descriptive name for this? Lik
ulan 2011/09/26 12:56:07 Done.
2010 String* name,
2011 Object* value,
2012 PropertyAttributes attributes,
2013 bool* found,
2014 StrictModeFlag strict_mode);
2015
2009 MUST_USE_RESULT MaybeObject* DeletePropertyPostInterceptor(String* name, 2016 MUST_USE_RESULT MaybeObject* DeletePropertyPostInterceptor(String* name,
2010 DeleteMode mode); 2017 DeleteMode mode);
2011 MUST_USE_RESULT MaybeObject* DeletePropertyWithInterceptor(String* name); 2018 MUST_USE_RESULT MaybeObject* DeletePropertyWithInterceptor(String* name);
2012 2019
2013 MUST_USE_RESULT MaybeObject* DeleteElementWithInterceptor(uint32_t index); 2020 MUST_USE_RESULT MaybeObject* DeleteElementWithInterceptor(uint32_t index);
2014 2021
2015 MUST_USE_RESULT MaybeObject* DeleteFastElement(uint32_t index); 2022 MUST_USE_RESULT MaybeObject* DeleteFastElement(uint32_t index);
2016 MUST_USE_RESULT MaybeObject* DeleteDictionaryElement(uint32_t index, 2023 MUST_USE_RESULT MaybeObject* DeleteDictionaryElement(uint32_t index,
2017 DeleteMode mode); 2024 DeleteMode mode);
2018 2025
(...skipping 5471 matching lines...) Expand 10 before | Expand all | Expand 10 after
7490 } else { 7497 } else {
7491 value &= ~(1 << bit_position); 7498 value &= ~(1 << bit_position);
7492 } 7499 }
7493 return value; 7500 return value;
7494 } 7501 }
7495 }; 7502 };
7496 7503
7497 } } // namespace v8::internal 7504 } } // namespace v8::internal
7498 7505
7499 #endif // V8_OBJECTS_H_ 7506 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698