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

Side by Side Diff: src/hydrogen.h

Issue 653993005: Fix out-of-bounds read in SourcePositionToScriptPosition with --hydrogen-track-positions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | « no previous file | src/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_HYDROGEN_H_ 5 #ifndef V8_HYDROGEN_H_
6 #define V8_HYDROGEN_H_ 6 #define V8_HYDROGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/accessors.h" 10 #include "src/accessors.h"
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 } 517 }
518 518
519 Handle<SharedFunctionInfo> shared() const { return shared_; } 519 Handle<SharedFunctionInfo> shared() const { return shared_; }
520 int start_position() const { return start_position_; } 520 int start_position() const { return start_position_; }
521 521
522 private: 522 private:
523 Handle<SharedFunctionInfo> shared_; 523 Handle<SharedFunctionInfo> shared_;
524 int start_position_; 524 int start_position_;
525 }; 525 };
526 526
527 int next_inline_id_;
528 ZoneList<InlinedFunctionInfo> inlined_functions_; 527 ZoneList<InlinedFunctionInfo> inlined_functions_;
528 ZoneList<int> inlining_id_to_function_id_;
529 529
530 DISALLOW_COPY_AND_ASSIGN(HGraph); 530 DISALLOW_COPY_AND_ASSIGN(HGraph);
531 }; 531 };
532 532
533 533
534 Zone* HBasicBlock::zone() const { return graph_->zone(); } 534 Zone* HBasicBlock::zone() const { return graph_->zone(); }
535 535
536 536
537 // Type of stack frame an environment might refer to. 537 // Type of stack frame an environment might refer to.
538 enum FrameType { 538 enum FrameType {
(...skipping 2366 matching lines...) Expand 10 before | Expand all | Expand 10 after
2905 } 2905 }
2906 2906
2907 private: 2907 private:
2908 HGraphBuilder* builder_; 2908 HGraphBuilder* builder_;
2909 }; 2909 };
2910 2910
2911 2911
2912 } } // namespace v8::internal 2912 } } // namespace v8::internal
2913 2913
2914 #endif // V8_HYDROGEN_H_ 2914 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698