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

Side by Side Diff: src/deoptimizer.h

Issue 769263002: Add support for enabling DCHECKs in release mode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 6 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
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_DEOPTIMIZER_H_ 5 #ifndef V8_DEOPTIMIZER_H_
6 #define V8_DEOPTIMIZER_H_ 6 #define V8_DEOPTIMIZER_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 // Output frame information. Only used during heap object materialization. 435 // Output frame information. Only used during heap object materialization.
436 List<Handle<JSFunction> > jsframe_functions_; 436 List<Handle<JSFunction> > jsframe_functions_;
437 List<bool> jsframe_has_adapted_arguments_; 437 List<bool> jsframe_has_adapted_arguments_;
438 438
439 // Materialized objects. Only used during heap object materialization. 439 // Materialized objects. Only used during heap object materialization.
440 List<Handle<Object> >* materialized_values_; 440 List<Handle<Object> >* materialized_values_;
441 List<Handle<Object> >* materialized_objects_; 441 List<Handle<Object> >* materialized_objects_;
442 int materialization_value_index_; 442 int materialization_value_index_;
443 int materialization_object_index_; 443 int materialization_object_index_;
444 444
445 #ifdef DEBUG 445 #if DCHECK_IS_ON
446 DisallowHeapAllocation* disallow_heap_allocation_; 446 DisallowHeapAllocation* disallow_heap_allocation_;
447 #endif // DEBUG 447 #endif // DCHECK_IS_ON
448 448
449 CodeTracer::Scope* trace_scope_; 449 CodeTracer::Scope* trace_scope_;
450 450
451 static const int table_entry_size_; 451 static const int table_entry_size_;
452 452
453 friend class FrameDescription; 453 friend class FrameDescription;
454 friend class DeoptimizedFrameInfo; 454 friend class DeoptimizedFrameInfo;
455 }; 455 };
456 456
457 457
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 Object** parameters_; 981 Object** parameters_;
982 Object** expression_stack_; 982 Object** expression_stack_;
983 int source_position_; 983 int source_position_;
984 984
985 friend class Deoptimizer; 985 friend class Deoptimizer;
986 }; 986 };
987 987
988 } } // namespace v8::internal 988 } } // namespace v8::internal
989 989
990 #endif // V8_DEOPTIMIZER_H_ 990 #endif // V8_DEOPTIMIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698