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

Side by Side Diff: src/objects.h

Issue 219393002: Revert 20348 - "Fix LoadFieldByIndex to take mutable heap-numbers into account." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 2598 matching lines...) Expand 10 before | Expand all | Expand 10 after
2609 Handle<JSObject> object); 2609 Handle<JSObject> object);
2610 2610
2611 // Transform slow named properties to fast variants. 2611 // Transform slow named properties to fast variants.
2612 static void TransformToFastProperties(Handle<JSObject> object, 2612 static void TransformToFastProperties(Handle<JSObject> object,
2613 int unused_property_fields); 2613 int unused_property_fields);
2614 2614
2615 // Access fast-case object properties at index. 2615 // Access fast-case object properties at index.
2616 MUST_USE_RESULT inline MaybeObject* FastPropertyAt( 2616 MUST_USE_RESULT inline MaybeObject* FastPropertyAt(
2617 Representation representation, 2617 Representation representation,
2618 int index); 2618 int index);
2619 static Handle<Object> FastPropertyAt(Handle<JSObject> object,
2620 Representation representation,
2621 int index);
2622 inline Object* RawFastPropertyAt(int index); 2619 inline Object* RawFastPropertyAt(int index);
2623 inline void FastPropertyAtPut(int index, Object* value); 2620 inline void FastPropertyAtPut(int index, Object* value);
2624 2621
2625 // Access to in object properties. 2622 // Access to in object properties.
2626 inline int GetInObjectPropertyOffset(int index); 2623 inline int GetInObjectPropertyOffset(int index);
2627 inline Object* InObjectPropertyAt(int index); 2624 inline Object* InObjectPropertyAt(int index);
2628 inline Object* InObjectPropertyAtPut(int index, 2625 inline Object* InObjectPropertyAtPut(int index,
2629 Object* value, 2626 Object* value,
2630 WriteBarrierMode mode 2627 WriteBarrierMode mode
2631 = UPDATE_WRITE_BARRIER); 2628 = UPDATE_WRITE_BARRIER);
(...skipping 8191 matching lines...) Expand 10 before | Expand all | Expand 10 after
10823 } else { 10820 } else {
10824 value &= ~(1 << bit_position); 10821 value &= ~(1 << bit_position);
10825 } 10822 }
10826 return value; 10823 return value;
10827 } 10824 }
10828 }; 10825 };
10829 10826
10830 } } // namespace v8::internal 10827 } } // namespace v8::internal
10831 10828
10832 #endif // V8_OBJECTS_H_ 10829 #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