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

Side by Side Diff: src/compiler.h

Issue 924453002: Fix invalid use of int in Zone. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Windows again... Created 5 years, 10 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/ast.h ('k') | src/compiler.cc » ('j') | src/zone.cc » ('J')
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_COMPILER_H_ 5 #ifndef V8_COMPILER_H_
6 #define V8_COMPILER_H_ 6 #define V8_COMPILER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/ast.h" 9 #include "src/ast.h"
10 #include "src/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 766
767 const char* name() const { return name_; } 767 const char* name() const { return name_; }
768 CompilationInfo* info() const { return info_; } 768 CompilationInfo* info() const { return info_; }
769 Isolate* isolate() const { return info()->isolate(); } 769 Isolate* isolate() const { return info()->isolate(); }
770 Zone* zone() { return &zone_; } 770 Zone* zone() { return &zone_; }
771 771
772 private: 772 private:
773 const char* name_; 773 const char* name_;
774 CompilationInfo* info_; 774 CompilationInfo* info_;
775 Zone zone_; 775 Zone zone_;
776 unsigned info_zone_start_allocation_size_; 776 size_t info_zone_start_allocation_size_;
777 base::ElapsedTimer timer_; 777 base::ElapsedTimer timer_;
778 778
779 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); 779 DISALLOW_COPY_AND_ASSIGN(CompilationPhase);
780 }; 780 };
781 781
782 } } // namespace v8::internal 782 } } // namespace v8::internal
783 783
784 #endif // V8_COMPILER_H_ 784 #endif // V8_COMPILER_H_
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/compiler.cc » ('j') | src/zone.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698