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

Side by Side Diff: src/full-codegen.h

Issue 288213002: Refactor MacroAssembler::Prologue. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comment Created 6 years, 7 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/arm64/macro-assembler-arm64.cc ('k') | src/ia32/full-codegen-ia32.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_FULL_CODEGEN_H_ 5 #ifndef V8_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_H_
7 7
8 #include "v8.h" 8 #include "v8.h"
9 9
10 #include "allocation.h" 10 #include "allocation.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 scope_(info->scope()), 67 scope_(info->scope()),
68 nesting_stack_(NULL), 68 nesting_stack_(NULL),
69 loop_depth_(0), 69 loop_depth_(0),
70 globals_(NULL), 70 globals_(NULL),
71 context_(NULL), 71 context_(NULL),
72 bailout_entries_(info->HasDeoptimizationSupport() 72 bailout_entries_(info->HasDeoptimizationSupport()
73 ? info->function()->ast_node_count() : 0, 73 ? info->function()->ast_node_count() : 0,
74 info->zone()), 74 info->zone()),
75 back_edges_(2, info->zone()), 75 back_edges_(2, info->zone()),
76 ic_total_count_(0) { 76 ic_total_count_(0) {
77 ASSERT(!info->IsStub());
77 Initialize(); 78 Initialize();
78 } 79 }
79 80
80 void Initialize(); 81 void Initialize();
81 82
82 static bool MakeCode(CompilationInfo* info); 83 static bool MakeCode(CompilationInfo* info);
83 84
84 // Encode state and pc-offset as a BitField<type, start, size>. 85 // Encode state and pc-offset as a BitField<type, start, size>.
85 // Only use 30 bits because we encode the result as a smi. 86 // Only use 30 bits because we encode the result as a smi.
86 class StateField : public BitField<State, 0, 1> { }; 87 class StateField : public BitField<State, 0, 1> { };
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 939
939 Address start_; 940 Address start_;
940 Address instruction_start_; 941 Address instruction_start_;
941 uint32_t length_; 942 uint32_t length_;
942 }; 943 };
943 944
944 945
945 } } // namespace v8::internal 946 } } // namespace v8::internal
946 947
947 #endif // V8_FULL_CODEGEN_H_ 948 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/arm64/macro-assembler-arm64.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698