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

Side by Side Diff: src/objects.h

Issue 16361015: Migrate Compare ICs to new type rep (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 7 years, 6 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 // 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 4644 matching lines...) Expand 10 before | Expand all | Expand 10 after
4655 inline void set_check_type(CheckType value); 4655 inline void set_check_type(CheckType value);
4656 4656
4657 // [type-recording unary op type]: For kind UNARY_OP_IC. 4657 // [type-recording unary op type]: For kind UNARY_OP_IC.
4658 inline byte unary_op_type(); 4658 inline byte unary_op_type();
4659 inline void set_unary_op_type(byte value); 4659 inline void set_unary_op_type(byte value);
4660 4660
4661 // [to_boolean_foo]: For kind TO_BOOLEAN_IC tells what state the stub is in. 4661 // [to_boolean_foo]: For kind TO_BOOLEAN_IC tells what state the stub is in.
4662 inline byte to_boolean_state(); 4662 inline byte to_boolean_state();
4663 4663
4664 // [compare_nil]: For kind COMPARE_NIL_IC tells what state the stub is in. 4664 // [compare_nil]: For kind COMPARE_NIL_IC tells what state the stub is in.
4665 byte compare_nil_types(); 4665 byte compare_nil_state();
4666 4666
4667 // [has_function_cache]: For kind STUB tells whether there is a function 4667 // [has_function_cache]: For kind STUB tells whether there is a function
4668 // cache is passed to the stub. 4668 // cache is passed to the stub.
4669 inline bool has_function_cache(); 4669 inline bool has_function_cache();
4670 inline void set_has_function_cache(bool flag); 4670 inline void set_has_function_cache(bool flag);
4671 4671
4672 4672
4673 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether 4673 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether
4674 // the code is going to be deoptimized because of dead embedded maps. 4674 // the code is going to be deoptimized because of dead embedded maps.
4675 inline bool marked_for_deoptimization(); 4675 inline bool marked_for_deoptimization();
(...skipping 4987 matching lines...) Expand 10 before | Expand all | Expand 10 after
9663 } else { 9663 } else {
9664 value &= ~(1 << bit_position); 9664 value &= ~(1 << bit_position);
9665 } 9665 }
9666 return value; 9666 return value;
9667 } 9667 }
9668 }; 9668 };
9669 9669
9670 } } // namespace v8::internal 9670 } } // namespace v8::internal
9671 9671
9672 #endif // V8_OBJECTS_H_ 9672 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698