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

Side by Side Diff: src/objects.h

Issue 68523009: Also support smi in load-ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 7 years, 1 month 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/ic-inl.h ('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 1476 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 MUST_USE_RESULT inline MaybeObject* GetElement(Isolate* isolate, 1487 MUST_USE_RESULT inline MaybeObject* GetElement(Isolate* isolate,
1488 uint32_t index); 1488 uint32_t index);
1489 // For use when we know that no exception can be thrown. 1489 // For use when we know that no exception can be thrown.
1490 inline Object* GetElementNoExceptionThrown(Isolate* isolate, uint32_t index); 1490 inline Object* GetElementNoExceptionThrown(Isolate* isolate, uint32_t index);
1491 MUST_USE_RESULT MaybeObject* GetElementWithReceiver(Isolate* isolate, 1491 MUST_USE_RESULT MaybeObject* GetElementWithReceiver(Isolate* isolate,
1492 Object* receiver, 1492 Object* receiver,
1493 uint32_t index); 1493 uint32_t index);
1494 1494
1495 // Return the object's prototype (might be Heap::null_value()). 1495 // Return the object's prototype (might be Heap::null_value()).
1496 Object* GetPrototype(Isolate* isolate); 1496 Object* GetPrototype(Isolate* isolate);
1497 Map* GetMarkerMap(Isolate* isolate);
1497 1498
1498 // Returns the permanent hash code associated with this object. May return 1499 // Returns the permanent hash code associated with this object. May return
1499 // undefined if not yet created. 1500 // undefined if not yet created.
1500 Object* GetHash(); 1501 Object* GetHash();
1501 1502
1502 // Returns the permanent hash code associated with this object depending on 1503 // Returns the permanent hash code associated with this object depending on
1503 // the actual object type. May create and store a hash code if needed and none 1504 // the actual object type. May create and store a hash code if needed and none
1504 // exists. 1505 // exists.
1505 // TODO(rafaelw): Remove isolate parameter when objects.cc is fully 1506 // TODO(rafaelw): Remove isolate parameter when objects.cc is fully
1506 // handlified. 1507 // handlified.
(...skipping 9016 matching lines...) Expand 10 before | Expand all | Expand 10 after
10523 } else { 10524 } else {
10524 value &= ~(1 << bit_position); 10525 value &= ~(1 << bit_position);
10525 } 10526 }
10526 return value; 10527 return value;
10527 } 10528 }
10528 }; 10529 };
10529 10530
10530 } } // namespace v8::internal 10531 } } // namespace v8::internal
10531 10532
10532 #endif // V8_OBJECTS_H_ 10533 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic-inl.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698