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

Side by Side Diff: src/crankshaft/hydrogen.h

Issue 1810483002: Introduce "optimized_out" oddball marker for compilers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix debugger. Created 4 years, 9 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
« no previous file with comments | « src/compiler/js-graph.cc ('k') | src/crankshaft/hydrogen.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_CRANKSHAFT_HYDROGEN_H_ 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_
6 #define V8_CRANKSHAFT_HYDROGEN_H_ 6 #define V8_CRANKSHAFT_HYDROGEN_H_
7 7
8 #include "src/accessors.h" 8 #include "src/accessors.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/ast/ast.h" 10 #include "src/ast/ast.h"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 327
328 HConstant* GetConstantUndefined(); 328 HConstant* GetConstantUndefined();
329 HConstant* GetConstant0(); 329 HConstant* GetConstant0();
330 HConstant* GetConstant1(); 330 HConstant* GetConstant1();
331 HConstant* GetConstantMinus1(); 331 HConstant* GetConstantMinus1();
332 HConstant* GetConstantTrue(); 332 HConstant* GetConstantTrue();
333 HConstant* GetConstantFalse(); 333 HConstant* GetConstantFalse();
334 HConstant* GetConstantBool(bool value); 334 HConstant* GetConstantBool(bool value);
335 HConstant* GetConstantHole(); 335 HConstant* GetConstantHole();
336 HConstant* GetConstantNull(); 336 HConstant* GetConstantNull();
337 HConstant* GetConstantOptimizedOut();
337 HConstant* GetInvalidContext(); 338 HConstant* GetInvalidContext();
338 339
339 bool IsConstantUndefined(HConstant* constant); 340 bool IsConstantUndefined(HConstant* constant);
340 bool IsConstant0(HConstant* constant); 341 bool IsConstant0(HConstant* constant);
341 bool IsConstant1(HConstant* constant); 342 bool IsConstant1(HConstant* constant);
342 bool IsConstantMinus1(HConstant* constant); 343 bool IsConstantMinus1(HConstant* constant);
343 bool IsConstantTrue(HConstant* constant); 344 bool IsConstantTrue(HConstant* constant);
344 bool IsConstantFalse(HConstant* constant); 345 bool IsConstantFalse(HConstant* constant);
345 bool IsConstantHole(HConstant* constant); 346 bool IsConstantHole(HConstant* constant);
346 bool IsConstantNull(HConstant* constant); 347 bool IsConstantNull(HConstant* constant);
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 ZoneList<HPhi*>* phi_list_; 466 ZoneList<HPhi*>* phi_list_;
466 ZoneList<HInstruction*>* uint32_instructions_; 467 ZoneList<HInstruction*>* uint32_instructions_;
467 SetOncePointer<HConstant> constant_undefined_; 468 SetOncePointer<HConstant> constant_undefined_;
468 SetOncePointer<HConstant> constant_0_; 469 SetOncePointer<HConstant> constant_0_;
469 SetOncePointer<HConstant> constant_1_; 470 SetOncePointer<HConstant> constant_1_;
470 SetOncePointer<HConstant> constant_minus1_; 471 SetOncePointer<HConstant> constant_minus1_;
471 SetOncePointer<HConstant> constant_true_; 472 SetOncePointer<HConstant> constant_true_;
472 SetOncePointer<HConstant> constant_false_; 473 SetOncePointer<HConstant> constant_false_;
473 SetOncePointer<HConstant> constant_the_hole_; 474 SetOncePointer<HConstant> constant_the_hole_;
474 SetOncePointer<HConstant> constant_null_; 475 SetOncePointer<HConstant> constant_null_;
476 SetOncePointer<HConstant> constant_optimized_out_;
475 SetOncePointer<HConstant> constant_invalid_context_; 477 SetOncePointer<HConstant> constant_invalid_context_;
476 478
477 HOsrBuilder* osr_; 479 HOsrBuilder* osr_;
478 480
479 CompilationInfo* info_; 481 CompilationInfo* info_;
480 CallInterfaceDescriptor descriptor_; 482 CallInterfaceDescriptor descriptor_;
481 Zone* zone_; 483 Zone* zone_;
482 484
483 bool use_optimistic_licm_; 485 bool use_optimistic_licm_;
484 bool depends_on_empty_array_proto_elements_; 486 bool depends_on_empty_array_proto_elements_;
(...skipping 2570 matching lines...) Expand 10 before | Expand all | Expand 10 after
3055 } 3057 }
3056 3058
3057 private: 3059 private:
3058 HOptimizedGraphBuilder* builder_; 3060 HOptimizedGraphBuilder* builder_;
3059 }; 3061 };
3060 3062
3061 } // namespace internal 3063 } // namespace internal
3062 } // namespace v8 3064 } // namespace v8
3063 3065
3064 #endif // V8_CRANKSHAFT_HYDROGEN_H_ 3066 #endif // V8_CRANKSHAFT_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/compiler/js-graph.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698