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

Side by Side Diff: src/objects.h

Issue 369843002: Fix deopt reason printing to print stub failure reason with --trace-stub-failures --code-comments (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: extracted readable is_hydrogen_stub() predicate Created 6 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/deoptimizer.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/builtins.h" 10 #include "src/builtins.h"
(...skipping 5539 matching lines...) Expand 10 before | Expand all | Expand 10 after
5550 inline void set_raw_kind_specific_flags2(int value); 5550 inline void set_raw_kind_specific_flags2(int value);
5551 5551
5552 // [major_key]: For kind STUB or BINARY_OP_IC, the major key. 5552 // [major_key]: For kind STUB or BINARY_OP_IC, the major key.
5553 inline int major_key(); 5553 inline int major_key();
5554 inline void set_major_key(int value); 5554 inline void set_major_key(int value);
5555 inline bool has_major_key(); 5555 inline bool has_major_key();
5556 5556
5557 // For kind STUB or ICs, tells whether or not a code object was generated by 5557 // For kind STUB or ICs, tells whether or not a code object was generated by
5558 // the optimizing compiler (but it may not be an optimized function). 5558 // the optimizing compiler (but it may not be an optimized function).
5559 bool is_crankshafted(); 5559 bool is_crankshafted();
5560 bool is_hydrogen_stub(); // Crankshafted, but not a function.
5560 inline void set_is_crankshafted(bool value); 5561 inline void set_is_crankshafted(bool value);
5561 5562
5562 // [optimizable]: For FUNCTION kind, tells if it is optimizable. 5563 // [optimizable]: For FUNCTION kind, tells if it is optimizable.
5563 inline bool optimizable(); 5564 inline bool optimizable();
5564 inline void set_optimizable(bool value); 5565 inline void set_optimizable(bool value);
5565 5566
5566 // [has_deoptimization_support]: For FUNCTION kind, tells if it has 5567 // [has_deoptimization_support]: For FUNCTION kind, tells if it has
5567 // deoptimization support. 5568 // deoptimization support.
5568 inline bool has_deoptimization_support(); 5569 inline bool has_deoptimization_support();
5569 inline void set_has_deoptimization_support(bool value); 5570 inline void set_has_deoptimization_support(bool value);
(...skipping 5626 matching lines...) Expand 10 before | Expand all | Expand 10 after
11196 } else { 11197 } else {
11197 value &= ~(1 << bit_position); 11198 value &= ~(1 << bit_position);
11198 } 11199 }
11199 return value; 11200 return value;
11200 } 11201 }
11201 }; 11202 };
11202 11203
11203 } } // namespace v8::internal 11204 } } // namespace v8::internal
11204 11205
11205 #endif // V8_OBJECTS_H_ 11206 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698