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

Side by Side Diff: src/objects.h

Issue 14862009: Encapsulating Type information in the CompareICStub (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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 4593 matching lines...) Expand 10 before | Expand all | Expand 10 after
4604 4604
4605 // [type-recording unary op type]: For kind UNARY_OP_IC. 4605 // [type-recording unary op type]: For kind UNARY_OP_IC.
4606 inline byte unary_op_type(); 4606 inline byte unary_op_type();
4607 inline void set_unary_op_type(byte value); 4607 inline void set_unary_op_type(byte value);
4608 4608
4609 // [to_boolean_foo]: For kind TO_BOOLEAN_IC tells what state the stub is in. 4609 // [to_boolean_foo]: For kind TO_BOOLEAN_IC tells what state the stub is in.
4610 inline byte to_boolean_state(); 4610 inline byte to_boolean_state();
4611 inline void set_to_boolean_state(byte value); 4611 inline void set_to_boolean_state(byte value);
4612 4612
4613 // [compare_nil]: For kind COMPARE_NIL_IC tells what state the stub is in. 4613 // [compare_nil]: For kind COMPARE_NIL_IC tells what state the stub is in.
4614 byte compare_nil_state(); 4614 byte compare_nil_types();
4615 4615
4616 // [has_function_cache]: For kind STUB tells whether there is a function 4616 // [has_function_cache]: For kind STUB tells whether there is a function
4617 // cache is passed to the stub. 4617 // cache is passed to the stub.
4618 inline bool has_function_cache(); 4618 inline bool has_function_cache();
4619 inline void set_has_function_cache(bool flag); 4619 inline void set_has_function_cache(bool flag);
4620 4620
4621 4621
4622 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether 4622 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether
4623 // the code is going to be deoptimized because of dead embedded maps. 4623 // the code is going to be deoptimized because of dead embedded maps.
4624 inline bool marked_for_deoptimization(); 4624 inline bool marked_for_deoptimization();
(...skipping 4943 matching lines...) Expand 10 before | Expand all | Expand 10 after
9568 } else { 9568 } else {
9569 value &= ~(1 << bit_position); 9569 value &= ~(1 << bit_position);
9570 } 9570 }
9571 return value; 9571 return value;
9572 } 9572 }
9573 }; 9573 };
9574 9574
9575 } } // namespace v8::internal 9575 } } // namespace v8::internal
9576 9576
9577 #endif // V8_OBJECTS_H_ 9577 #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