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

Side by Side Diff: src/x64/lithium-codegen-x64.h

Issue 7737036: Reorganize object type enum, such that proxies are no longer in the middle (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Erik's comments. Created 9 years, 3 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/x64/full-codegen-x64.cc ('k') | src/x64/lithium-codegen-x64.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 Scope* scope() const { return scope_; } 133 Scope* scope() const { return scope_; }
134 HGraph* graph() const { return chunk_->graph(); } 134 HGraph* graph() const { return chunk_->graph(); }
135 135
136 int GetNextEmittedBlock(int block); 136 int GetNextEmittedBlock(int block);
137 LInstruction* GetNextInstruction(); 137 LInstruction* GetNextInstruction();
138 138
139 void EmitClassOfTest(Label* if_true, 139 void EmitClassOfTest(Label* if_true,
140 Label* if_false, 140 Label* if_false,
141 Handle<String> class_name, 141 Handle<String> class_name,
142 Register input, 142 Register input,
143 Register temporary); 143 Register temporary,
144 Register scratch);
144 145
145 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 146 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
146 int GetParameterCount() const { return scope()->num_parameters(); } 147 int GetParameterCount() const { return scope()->num_parameters(); }
147 148
148 void Abort(const char* format, ...); 149 void Abort(const char* format, ...);
149 void Comment(const char* format, ...); 150 void Comment(const char* format, ...);
150 151
151 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); } 152 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); }
152 153
153 // Code generation passes. Returns true if code generation should 154 // Code generation passes. Returns true if code generation should
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 private: 364 private:
364 LCodeGen* codegen_; 365 LCodeGen* codegen_;
365 Label entry_; 366 Label entry_;
366 Label exit_; 367 Label exit_;
367 Label* external_exit_; 368 Label* external_exit_;
368 }; 369 };
369 370
370 } } // namespace v8::internal 371 } } // namespace v8::internal
371 372
372 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 373 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698