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 481073002: Get rid of dead version of GetNormalizedProperty (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 2139 matching lines...) Expand 10 before | Expand all | Expand 10 after
2150 // lowest upper bound of all known representations for that field. 2150 // lowest upper bound of all known representations for that field.
2151 static void MigrateInstance(Handle<JSObject> instance); 2151 static void MigrateInstance(Handle<JSObject> instance);
2152 2152
2153 // Migrates the given object only if the target map is already available, 2153 // Migrates the given object only if the target map is already available,
2154 // or returns false if such a map is not yet available. 2154 // or returns false if such a map is not yet available.
2155 static bool TryMigrateInstance(Handle<JSObject> instance); 2155 static bool TryMigrateInstance(Handle<JSObject> instance);
2156 2156
2157 // Retrieve a value in a normalized object given a lookup result. 2157 // Retrieve a value in a normalized object given a lookup result.
2158 // Handles the special representation of JS global objects. 2158 // Handles the special representation of JS global objects.
2159 Object* GetNormalizedProperty(const LookupResult* result); 2159 Object* GetNormalizedProperty(const LookupResult* result);
2160 static Handle<Object> GetNormalizedProperty(Handle<JSObject> object,
2161 const LookupResult* result);
2162 2160
2163 // Sets the property value in a normalized object given (key, value, details). 2161 // Sets the property value in a normalized object given (key, value, details).
2164 // Handles the special representation of JS global objects. 2162 // Handles the special representation of JS global objects.
2165 static void SetNormalizedProperty(Handle<JSObject> object, 2163 static void SetNormalizedProperty(Handle<JSObject> object,
2166 Handle<Name> key, 2164 Handle<Name> key,
2167 Handle<Object> value, 2165 Handle<Object> value,
2168 PropertyDetails details); 2166 PropertyDetails details);
2169 2167
2170 static void OptimizeAsPrototype(Handle<JSObject> object, 2168 static void OptimizeAsPrototype(Handle<JSObject> object,
2171 PrototypeOptimizationMode mode); 2169 PrototypeOptimizationMode mode);
(...skipping 9036 matching lines...) Expand 10 before | Expand all | Expand 10 after
11208 } else { 11206 } else {
11209 value &= ~(1 << bit_position); 11207 value &= ~(1 << bit_position);
11210 } 11208 }
11211 return value; 11209 return value;
11212 } 11210 }
11213 }; 11211 };
11214 11212
11215 } } // namespace v8::internal 11213 } } // namespace v8::internal
11216 11214
11217 #endif // V8_OBJECTS_H_ 11215 #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