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

Side by Side Diff: src/objects.h

Issue 81043002: Code object now prints its major_key when applicable. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Identation fixed. Created 7 years 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 | « no previous file | 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 5123 matching lines...) Expand 10 before | Expand all | Expand 10 after
5134 inline bool is_keyed_call_stub() { return kind() == KEYED_CALL_IC; } 5134 inline bool is_keyed_call_stub() { return kind() == KEYED_CALL_IC; }
5135 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; } 5135 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; }
5136 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; } 5136 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; }
5137 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } 5137 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; }
5138 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } 5138 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; }
5139 inline bool is_keyed_stub(); 5139 inline bool is_keyed_stub();
5140 5140
5141 // [major_key]: For kind STUB or BINARY_OP_IC, the major key. 5141 // [major_key]: For kind STUB or BINARY_OP_IC, the major key.
5142 inline int major_key(); 5142 inline int major_key();
5143 inline void set_major_key(int value); 5143 inline void set_major_key(int value);
5144 inline bool has_major_key();
5144 5145
5145 // For kind STUB or ICs, tells whether or not a code object was generated by 5146 // For kind STUB or ICs, tells whether or not a code object was generated by
5146 // the optimizing compiler (but it may not be an optimized function). 5147 // the optimizing compiler (but it may not be an optimized function).
5147 bool is_crankshafted(); 5148 bool is_crankshafted();
5148 inline void set_is_crankshafted(bool value); 5149 inline void set_is_crankshafted(bool value);
5149 5150
5150 // For stubs, tells whether they should always exist, so that they can be 5151 // For stubs, tells whether they should always exist, so that they can be
5151 // called from other stubs. 5152 // called from other stubs.
5152 inline bool is_pregenerated(); 5153 inline bool is_pregenerated();
5153 inline void set_is_pregenerated(bool value); 5154 inline void set_is_pregenerated(bool value);
(...skipping 5411 matching lines...) Expand 10 before | Expand all | Expand 10 after
10565 } else { 10566 } else {
10566 value &= ~(1 << bit_position); 10567 value &= ~(1 << bit_position);
10567 } 10568 }
10568 return value; 10569 return value;
10569 } 10570 }
10570 }; 10571 };
10571 10572
10572 } } // namespace v8::internal 10573 } } // namespace v8::internal
10573 10574
10574 #endif // V8_OBJECTS_H_ 10575 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698