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

Side by Side Diff: src/objects.h

Issue 494733005: Change return-type of SetDataProperty to Handle. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/builtins.h" 10 #include "src/builtins.h"
(...skipping 1468 matching lines...) Expand 10 before | Expand all | Expand 10 after
1479 MUST_USE_RESULT static MaybeHandle<Object> SetProperty( 1479 MUST_USE_RESULT static MaybeHandle<Object> SetProperty(
1480 Handle<Object> object, Handle<Name> key, Handle<Object> value, 1480 Handle<Object> object, Handle<Name> key, Handle<Object> value,
1481 StrictMode strict_mode, 1481 StrictMode strict_mode,
1482 StoreFromKeyed store_mode = MAY_BE_STORE_FROM_KEYED); 1482 StoreFromKeyed store_mode = MAY_BE_STORE_FROM_KEYED);
1483 1483
1484 MUST_USE_RESULT static MaybeHandle<Object> SetProperty( 1484 MUST_USE_RESULT static MaybeHandle<Object> SetProperty(
1485 LookupIterator* it, Handle<Object> value, StrictMode strict_mode, 1485 LookupIterator* it, Handle<Object> value, StrictMode strict_mode,
1486 StoreFromKeyed store_mode); 1486 StoreFromKeyed store_mode);
1487 MUST_USE_RESULT static MaybeHandle<Object> WriteToReadOnlyProperty( 1487 MUST_USE_RESULT static MaybeHandle<Object> WriteToReadOnlyProperty(
1488 LookupIterator* it, Handle<Object> value, StrictMode strict_mode); 1488 LookupIterator* it, Handle<Object> value, StrictMode strict_mode);
1489 MUST_USE_RESULT static MaybeHandle<Object> SetDataProperty( 1489 static Handle<Object> SetDataProperty(LookupIterator* it,
1490 LookupIterator* it, Handle<Object> value); 1490 Handle<Object> value);
1491 MUST_USE_RESULT static MaybeHandle<Object> AddDataProperty( 1491 MUST_USE_RESULT static MaybeHandle<Object> AddDataProperty(
1492 LookupIterator* it, Handle<Object> value, PropertyAttributes attributes, 1492 LookupIterator* it, Handle<Object> value, PropertyAttributes attributes,
1493 StrictMode strict_mode, StoreFromKeyed store_mode); 1493 StrictMode strict_mode, StoreFromKeyed store_mode);
1494 MUST_USE_RESULT static inline MaybeHandle<Object> GetPropertyOrElement( 1494 MUST_USE_RESULT static inline MaybeHandle<Object> GetPropertyOrElement(
1495 Handle<Object> object, 1495 Handle<Object> object,
1496 Handle<Name> key); 1496 Handle<Name> key);
1497 MUST_USE_RESULT static inline MaybeHandle<Object> GetProperty( 1497 MUST_USE_RESULT static inline MaybeHandle<Object> GetProperty(
1498 Isolate* isolate, 1498 Isolate* isolate,
1499 Handle<Object> object, 1499 Handle<Object> object,
1500 const char* key); 1500 const char* key);
(...skipping 9689 matching lines...) Expand 10 before | Expand all | Expand 10 after
11190 } else { 11190 } else {
11191 value &= ~(1 << bit_position); 11191 value &= ~(1 << bit_position);
11192 } 11192 }
11193 return value; 11193 return value;
11194 } 11194 }
11195 }; 11195 };
11196 11196
11197 } } // namespace v8::internal 11197 } } // namespace v8::internal
11198 11198
11199 #endif // V8_OBJECTS_H_ 11199 #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