| OLD | NEW | 
|    1 // Copyright 2014 the V8 project authors. All rights reserved. |    1 // Copyright 2014 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_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_ |    5 #ifndef V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_ | 
|    6 #define V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_ |    6 #define V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_ | 
|    7  |    7  | 
|    8 #include "src/ast/scopes.h" |    8 #include "src/ast/scopes.h" | 
|    9 #include "src/crankshaft/lithium-codegen.h" |    9 #include "src/crankshaft/lithium-codegen.h" | 
|   10 #include "src/crankshaft/ppc/lithium-gap-resolver-ppc.h" |   10 #include "src/crankshaft/ppc/lithium-gap-resolver-ppc.h" | 
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  121  |  121  | 
|  122   // Emit frame translation commands for an environment. |  122   // Emit frame translation commands for an environment. | 
|  123   void WriteTranslation(LEnvironment* environment, Translation* translation); |  123   void WriteTranslation(LEnvironment* environment, Translation* translation); | 
|  124  |  124  | 
|  125 // Declare methods that deal with the individual node types. |  125 // Declare methods that deal with the individual node types. | 
|  126 #define DECLARE_DO(type) void Do##type(L##type* node); |  126 #define DECLARE_DO(type) void Do##type(L##type* node); | 
|  127   LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |  127   LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 
|  128 #undef DECLARE_DO |  128 #undef DECLARE_DO | 
|  129  |  129  | 
|  130  private: |  130  private: | 
|  131   LanguageMode language_mode() const { return info()->language_mode(); } |  | 
|  132  |  | 
|  133   Scope* scope() const { return scope_; } |  131   Scope* scope() const { return scope_; } | 
|  134  |  132  | 
|  135   Register scratch0() { return kLithiumScratch; } |  133   Register scratch0() { return kLithiumScratch; } | 
|  136   DoubleRegister double_scratch0() { return kScratchDoubleReg; } |  134   DoubleRegister double_scratch0() { return kScratchDoubleReg; } | 
|  137  |  135  | 
|  138   LInstruction* GetNextInstruction(); |  136   LInstruction* GetNextInstruction(); | 
|  139  |  137  | 
|  140   void EmitClassOfTest(Label* if_true, Label* if_false, |  138   void EmitClassOfTest(Label* if_true, Label* if_false, | 
|  141                        Handle<String> class_name, Register input, |  139                        Handle<String> class_name, Register input, | 
|  142                        Register temporary, Register temporary2); |  140                        Register temporary, Register temporary2); | 
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  353   LCodeGen* codegen_; |  351   LCodeGen* codegen_; | 
|  354   Label entry_; |  352   Label entry_; | 
|  355   Label exit_; |  353   Label exit_; | 
|  356   Label* external_exit_; |  354   Label* external_exit_; | 
|  357   int instruction_index_; |  355   int instruction_index_; | 
|  358 }; |  356 }; | 
|  359 }  // namespace internal |  357 }  // namespace internal | 
|  360 }  // namespace v8 |  358 }  // namespace v8 | 
|  361  |  359  | 
|  362 #endif  // V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_ |  360 #endif  // V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_ | 
| OLD | NEW |