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

Side by Side Diff: src/objects.h

Issue 204603003: ElementsAccessor::SetLength() handlified. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 | « src/elements.cc ('k') | src/objects-inl.h » ('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 // 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 1518 matching lines...) Expand 10 before | Expand all | Expand 10 after
1529 1529
1530 MUST_USE_RESULT MaybeObject* ToObject(Isolate* isolate); // ECMA-262 9.9. 1530 MUST_USE_RESULT MaybeObject* ToObject(Isolate* isolate); // ECMA-262 9.9.
1531 bool BooleanValue(); // ECMA-262 9.2. 1531 bool BooleanValue(); // ECMA-262 9.2.
1532 1532
1533 // Convert to a JSObject if needed. 1533 // Convert to a JSObject if needed.
1534 // native_context is used when creating wrapper object. 1534 // native_context is used when creating wrapper object.
1535 MUST_USE_RESULT MaybeObject* ToObject(Context* native_context); 1535 MUST_USE_RESULT MaybeObject* ToObject(Context* native_context);
1536 1536
1537 // Converts this to a Smi if possible. 1537 // Converts this to a Smi if possible.
1538 // Failure is returned otherwise. 1538 // Failure is returned otherwise.
1539 static MUST_USE_RESULT inline Handle<Object> ToSmi(Isolate* isolate,
1540 Handle<Object> object);
1539 MUST_USE_RESULT inline MaybeObject* ToSmi(); 1541 MUST_USE_RESULT inline MaybeObject* ToSmi();
1540 1542
1541 void Lookup(Name* name, LookupResult* result); 1543 void Lookup(Name* name, LookupResult* result);
1542 1544
1543 // Property access. 1545 // Property access.
1544 MUST_USE_RESULT inline MaybeObject* GetProperty(Name* key); 1546 MUST_USE_RESULT inline MaybeObject* GetProperty(Name* key);
1545 MUST_USE_RESULT inline MaybeObject* GetProperty( 1547 MUST_USE_RESULT inline MaybeObject* GetProperty(
1546 Name* key, 1548 Name* key,
1547 PropertyAttributes* attributes); 1549 PropertyAttributes* attributes);
1548 1550
(...skipping 9244 matching lines...) Expand 10 before | Expand all | Expand 10 after
10793 } else { 10795 } else {
10794 value &= ~(1 << bit_position); 10796 value &= ~(1 << bit_position);
10795 } 10797 }
10796 return value; 10798 return value;
10797 } 10799 }
10798 }; 10800 };
10799 10801
10800 } } // namespace v8::internal 10802 } } // namespace v8::internal
10801 10803
10802 #endif // V8_OBJECTS_H_ 10804 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698