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

Side by Side Diff: src/objects.h

Issue 463963002: Always assume SetOwnPropertyIgnoreAttributes to be CERTAINLY_NOT_FROM_KEYED (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 2133 matching lines...) Expand 10 before | Expand all | Expand 10 after
2144 enum ExecutableAccessorInfoHandling { 2144 enum ExecutableAccessorInfoHandling {
2145 DEFAULT_HANDLING, 2145 DEFAULT_HANDLING,
2146 DONT_FORCE_FIELD 2146 DONT_FORCE_FIELD
2147 }; 2147 };
2148 2148
2149 MUST_USE_RESULT static MaybeHandle<Object> SetOwnPropertyIgnoreAttributes( 2149 MUST_USE_RESULT static MaybeHandle<Object> SetOwnPropertyIgnoreAttributes(
2150 Handle<JSObject> object, 2150 Handle<JSObject> object,
2151 Handle<Name> key, 2151 Handle<Name> key,
2152 Handle<Object> value, 2152 Handle<Object> value,
2153 PropertyAttributes attributes, 2153 PropertyAttributes attributes,
2154 StoreFromKeyed store_mode = MAY_BE_STORE_FROM_KEYED,
2155 ExecutableAccessorInfoHandling handling = DEFAULT_HANDLING); 2154 ExecutableAccessorInfoHandling handling = DEFAULT_HANDLING);
2156 2155
2157 static void AddProperty(Handle<JSObject> object, Handle<Name> key, 2156 static void AddProperty(Handle<JSObject> object, Handle<Name> key,
2158 Handle<Object> value, PropertyAttributes attributes); 2157 Handle<Object> value, PropertyAttributes attributes);
2159 2158
2160 // Extend the receiver with a single fast property appeared first in the 2159 // Extend the receiver with a single fast property appeared first in the
2161 // passed map. This also extends the property backing store if necessary. 2160 // passed map. This also extends the property backing store if necessary.
2162 static void AllocateStorageForMap(Handle<JSObject> object, Handle<Map> map); 2161 static void AllocateStorageForMap(Handle<JSObject> object, Handle<Map> map);
2163 2162
2164 // Migrates the given object to a map whose field representations are the 2163 // Migrates the given object to a map whose field representations are the
(...skipping 9065 matching lines...) Expand 10 before | Expand all | Expand 10 after
11230 } else { 11229 } else {
11231 value &= ~(1 << bit_position); 11230 value &= ~(1 << bit_position);
11232 } 11231 }
11233 return value; 11232 return value;
11234 } 11233 }
11235 }; 11234 };
11236 11235
11237 } } // namespace v8::internal 11236 } } // namespace v8::internal
11238 11237
11239 #endif // V8_OBJECTS_H_ 11238 #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