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

Side by Side Diff: src/objects.h

Issue 18602003: Encapsulate compare nil ic_state. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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/code-stubs-hydrogen.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 4655 matching lines...) Expand 10 before | Expand all | Expand 10 after
4666 inline CheckType check_type(); 4666 inline CheckType check_type();
4667 inline void set_check_type(CheckType value); 4667 inline void set_check_type(CheckType value);
4668 4668
4669 // [type-recording unary op type]: For kind UNARY_OP_IC. 4669 // [type-recording unary op type]: For kind UNARY_OP_IC.
4670 inline byte unary_op_type(); 4670 inline byte unary_op_type();
4671 inline void set_unary_op_type(byte value); 4671 inline void set_unary_op_type(byte value);
4672 4672
4673 // [to_boolean_foo]: For kind TO_BOOLEAN_IC tells what state the stub is in. 4673 // [to_boolean_foo]: For kind TO_BOOLEAN_IC tells what state the stub is in.
4674 inline byte to_boolean_state(); 4674 inline byte to_boolean_state();
4675 4675
4676 // [compare_nil]: For kind COMPARE_NIL_IC tells what state the stub is in.
4677 byte compare_nil_state();
4678 byte compare_nil_value();
4679
4680 // [has_function_cache]: For kind STUB tells whether there is a function 4676 // [has_function_cache]: For kind STUB tells whether there is a function
4681 // cache is passed to the stub. 4677 // cache is passed to the stub.
4682 inline bool has_function_cache(); 4678 inline bool has_function_cache();
4683 inline void set_has_function_cache(bool flag); 4679 inline void set_has_function_cache(bool flag);
4684 4680
4685 4681
4686 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether 4682 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether
4687 // the code is going to be deoptimized because of dead embedded maps. 4683 // the code is going to be deoptimized because of dead embedded maps.
4688 inline bool marked_for_deoptimization(); 4684 inline bool marked_for_deoptimization();
4689 inline void set_marked_for_deoptimization(bool flag); 4685 inline void set_marked_for_deoptimization(bool flag);
(...skipping 5120 matching lines...) Expand 10 before | Expand all | Expand 10 after
9810 } else { 9806 } else {
9811 value &= ~(1 << bit_position); 9807 value &= ~(1 << bit_position);
9812 } 9808 }
9813 return value; 9809 return value;
9814 } 9810 }
9815 }; 9811 };
9816 9812
9817 } } // namespace v8::internal 9813 } } // namespace v8::internal
9818 9814
9819 #endif // V8_OBJECTS_H_ 9815 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698