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

Side by Side Diff: src/objects.h

Issue 11359212: Fix clang build after r12956 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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
« no previous file with comments | « no previous file | no next file » | 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 1862 matching lines...) Expand 10 before | Expand all | Expand 10 after
1873 Object* value, 1873 Object* value,
1874 StrictModeFlag strict_mode, 1874 StrictModeFlag strict_mode,
1875 bool check_prototype = true); 1875 bool check_prototype = true);
1876 1876
1877 static Handle<Object> SetOwnElement(Handle<JSObject> object, 1877 static Handle<Object> SetOwnElement(Handle<JSObject> object,
1878 uint32_t index, 1878 uint32_t index,
1879 Handle<Object> value, 1879 Handle<Object> value,
1880 StrictModeFlag strict_mode); 1880 StrictModeFlag strict_mode);
1881 1881
1882 // Empty handle is returned if the element cannot be set to the given value. 1882 // Empty handle is returned if the element cannot be set to the given value.
1883 static MUST_USE_RESULT Handle<Object> SetElement( 1883 static Handle<Object> SetElement(
1884 Handle<JSObject> object, 1884 Handle<JSObject> object,
1885 uint32_t index, 1885 uint32_t index,
1886 Handle<Object> value, 1886 Handle<Object> value,
1887 PropertyAttributes attr, 1887 PropertyAttributes attr,
1888 StrictModeFlag strict_mode, 1888 StrictModeFlag strict_mode,
1889 SetPropertyMode set_mode = SET_PROPERTY); 1889 SetPropertyMode set_mode = SET_PROPERTY);
1890 1890
1891 // A Failure object is returned if GC is needed. 1891 // A Failure object is returned if GC is needed.
1892 MUST_USE_RESULT MaybeObject* SetElement( 1892 MUST_USE_RESULT MaybeObject* SetElement(
1893 uint32_t index, 1893 uint32_t index,
(...skipping 7107 matching lines...) Expand 10 before | Expand all | Expand 10 after
9001 } else { 9001 } else {
9002 value &= ~(1 << bit_position); 9002 value &= ~(1 << bit_position);
9003 } 9003 }
9004 return value; 9004 return value;
9005 } 9005 }
9006 }; 9006 };
9007 9007
9008 } } // namespace v8::internal 9008 } } // namespace v8::internal
9009 9009
9010 #endif // V8_OBJECTS_H_ 9010 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698