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

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: Comments 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
« no previous file with comments | « src/ic.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 4651 matching lines...) Expand 10 before | Expand all | Expand 10 after
4662 inline void set_check_type(CheckType value); 4662 inline void set_check_type(CheckType value);
4663 4663
4664 // [type-recording unary op type]: For kind UNARY_OP_IC. 4664 // [type-recording unary op type]: For kind UNARY_OP_IC.
4665 inline byte unary_op_type(); 4665 inline byte unary_op_type();
4666 inline void set_unary_op_type(byte value); 4666 inline void set_unary_op_type(byte value);
4667 4667
4668 // [to_boolean_foo]: For kind TO_BOOLEAN_IC tells what state the stub is in. 4668 // [to_boolean_foo]: For kind TO_BOOLEAN_IC tells what state the stub is in.
4669 inline byte to_boolean_state(); 4669 inline byte to_boolean_state();
4670 4670
4671 // [compare_nil]: For kind COMPARE_NIL_IC tells what state the stub is in. 4671 // [compare_nil]: For kind COMPARE_NIL_IC tells what state the stub is in.
4672 byte compare_nil_types(); 4672 byte compare_nil_state();
4673 4673
4674 // [has_function_cache]: For kind STUB tells whether there is a function 4674 // [has_function_cache]: For kind STUB tells whether there is a function
4675 // cache is passed to the stub. 4675 // cache is passed to the stub.
4676 inline bool has_function_cache(); 4676 inline bool has_function_cache();
4677 inline void set_has_function_cache(bool flag); 4677 inline void set_has_function_cache(bool flag);
4678 4678
4679 4679
4680 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether 4680 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether
4681 // the code is going to be deoptimized because of dead embedded maps. 4681 // the code is going to be deoptimized because of dead embedded maps.
4682 inline bool marked_for_deoptimization(); 4682 inline bool marked_for_deoptimization();
(...skipping 5034 matching lines...) Expand 10 before | Expand all | Expand 10 after
9717 } else { 9717 } else {
9718 value &= ~(1 << bit_position); 9718 value &= ~(1 << bit_position);
9719 } 9719 }
9720 return value; 9720 return value;
9721 } 9721 }
9722 }; 9722 };
9723 9723
9724 } } // namespace v8::internal 9724 } } // namespace v8::internal
9725 9725
9726 #endif // V8_OBJECTS_H_ 9726 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698