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

Side by Side Diff: src/objects.h

Issue 218663005: Reland and fix "Fix LoadFieldByIndex to take mutable heap-numbers into account."" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix number of arguments Created 6 years, 8 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/ia32/lithium-ia32.cc ('k') | 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 // 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 2600 matching lines...) Expand 10 before | Expand all | Expand 10 after
2611 Handle<JSObject> object); 2611 Handle<JSObject> object);
2612 2612
2613 // Transform slow named properties to fast variants. 2613 // Transform slow named properties to fast variants.
2614 static void TransformToFastProperties(Handle<JSObject> object, 2614 static void TransformToFastProperties(Handle<JSObject> object,
2615 int unused_property_fields); 2615 int unused_property_fields);
2616 2616
2617 // Access fast-case object properties at index. 2617 // Access fast-case object properties at index.
2618 MUST_USE_RESULT inline MaybeObject* FastPropertyAt( 2618 MUST_USE_RESULT inline MaybeObject* FastPropertyAt(
2619 Representation representation, 2619 Representation representation,
2620 int index); 2620 int index);
2621 static Handle<Object> FastPropertyAt(Handle<JSObject> object,
2622 Representation representation,
2623 int index);
2621 inline Object* RawFastPropertyAt(int index); 2624 inline Object* RawFastPropertyAt(int index);
2622 inline void FastPropertyAtPut(int index, Object* value); 2625 inline void FastPropertyAtPut(int index, Object* value);
2623 2626
2624 // Access to in object properties. 2627 // Access to in object properties.
2625 inline int GetInObjectPropertyOffset(int index); 2628 inline int GetInObjectPropertyOffset(int index);
2626 inline Object* InObjectPropertyAt(int index); 2629 inline Object* InObjectPropertyAt(int index);
2627 inline Object* InObjectPropertyAtPut(int index, 2630 inline Object* InObjectPropertyAtPut(int index,
2628 Object* value, 2631 Object* value,
2629 WriteBarrierMode mode 2632 WriteBarrierMode mode
2630 = UPDATE_WRITE_BARRIER); 2633 = UPDATE_WRITE_BARRIER);
(...skipping 8191 matching lines...) Expand 10 before | Expand all | Expand 10 after
10822 } else { 10825 } else {
10823 value &= ~(1 << bit_position); 10826 value &= ~(1 << bit_position);
10824 } 10827 }
10825 return value; 10828 return value;
10826 } 10829 }
10827 }; 10830 };
10828 10831
10829 } } // namespace v8::internal 10832 } } // namespace v8::internal
10830 10833
10831 #endif // V8_OBJECTS_H_ 10834 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698