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

Side by Side Diff: src/objects.h

Issue 466283003: Use LookupIterator for CompileLoadInterceptor and delete Object::Lookup (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add ports 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
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 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after
1477 static inline MaybeHandle<JSReceiver> ToObject(Isolate* isolate, 1477 static inline MaybeHandle<JSReceiver> ToObject(Isolate* isolate,
1478 Handle<Object> object); 1478 Handle<Object> object);
1479 static MaybeHandle<JSReceiver> ToObject(Isolate* isolate, 1479 static MaybeHandle<JSReceiver> ToObject(Isolate* isolate,
1480 Handle<Object> object, 1480 Handle<Object> object,
1481 Handle<Context> context); 1481 Handle<Context> context);
1482 1482
1483 // Converts this to a Smi if possible. 1483 // Converts this to a Smi if possible.
1484 static MUST_USE_RESULT inline MaybeHandle<Smi> ToSmi(Isolate* isolate, 1484 static MUST_USE_RESULT inline MaybeHandle<Smi> ToSmi(Isolate* isolate,
1485 Handle<Object> object); 1485 Handle<Object> object);
1486 1486
1487 void Lookup(Handle<Name> name, LookupResult* result);
1488
1489 MUST_USE_RESULT static MaybeHandle<Object> GetProperty(LookupIterator* it); 1487 MUST_USE_RESULT static MaybeHandle<Object> GetProperty(LookupIterator* it);
1490 1488
1491 // Implementation of [[Put]], ECMA-262 5th edition, section 8.12.5. 1489 // Implementation of [[Put]], ECMA-262 5th edition, section 8.12.5.
1492 MUST_USE_RESULT static MaybeHandle<Object> SetProperty( 1490 MUST_USE_RESULT static MaybeHandle<Object> SetProperty(
1493 Handle<Object> object, Handle<Name> key, Handle<Object> value, 1491 Handle<Object> object, Handle<Name> key, Handle<Object> value,
1494 StrictMode strict_mode, 1492 StrictMode strict_mode,
1495 StoreFromKeyed store_mode = MAY_BE_STORE_FROM_KEYED); 1493 StoreFromKeyed store_mode = MAY_BE_STORE_FROM_KEYED);
1496 1494
1497 MUST_USE_RESULT static MaybeHandle<Object> SetProperty( 1495 MUST_USE_RESULT static MaybeHandle<Object> SetProperty(
1498 LookupIterator* it, Handle<Object> value, StrictMode strict_mode, 1496 LookupIterator* it, Handle<Object> value, StrictMode strict_mode,
(...skipping 9729 matching lines...) Expand 10 before | Expand all | Expand 10 after
11228 } else { 11226 } else {
11229 value &= ~(1 << bit_position); 11227 value &= ~(1 << bit_position);
11230 } 11228 }
11231 return value; 11229 return value;
11232 } 11230 }
11233 }; 11231 };
11234 11232
11235 } } // namespace v8::internal 11233 } } // namespace v8::internal
11236 11234
11237 #endif // V8_OBJECTS_H_ 11235 #endif // V8_OBJECTS_H_
OLDNEW
« src/ia32/stub-cache-ia32.cc ('K') | « src/lookup.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698