OLD | NEW |
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 // Finish the code by setting stack height, safepoint, and bailout | 86 // Finish the code by setting stack height, safepoint, and bailout |
87 // information on it. | 87 // information on it. |
88 void FinishCode(Handle<Code> code); | 88 void FinishCode(Handle<Code> code); |
89 | 89 |
90 // Deferred code support. | 90 // Deferred code support. |
91 void DoDeferredNumberTagD(LNumberTagD* instr); | 91 void DoDeferredNumberTagD(LNumberTagD* instr); |
92 void DoDeferredTaggedToI(LTaggedToI* instr); | 92 void DoDeferredTaggedToI(LTaggedToI* instr); |
93 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); | 93 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); |
94 void DoDeferredStackCheck(LGoto* instr); | 94 void DoDeferredStackCheck(LGoto* instr); |
95 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 95 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
96 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr); | 96 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
| 97 Label* map_check); |
97 | 98 |
98 // Parallel move support. | 99 // Parallel move support. |
99 void DoParallelMove(LParallelMove* move); | 100 void DoParallelMove(LParallelMove* move); |
100 | 101 |
101 // Emit frame translation commands for an environment. | 102 // Emit frame translation commands for an environment. |
102 void WriteTranslation(LEnvironment* environment, Translation* translation); | 103 void WriteTranslation(LEnvironment* environment, Translation* translation); |
103 | 104 |
104 // Declare methods that deal with the individual node types. | 105 // Declare methods that deal with the individual node types. |
105 #define DECLARE_DO(type) void Do##type(L##type* node); | 106 #define DECLARE_DO(type) void Do##type(L##type* node); |
106 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 107 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 private: | 298 private: |
298 LCodeGen* codegen_; | 299 LCodeGen* codegen_; |
299 Label entry_; | 300 Label entry_; |
300 Label exit_; | 301 Label exit_; |
301 Label* external_exit_; | 302 Label* external_exit_; |
302 }; | 303 }; |
303 | 304 |
304 } } // namespace v8::internal | 305 } } // namespace v8::internal |
305 | 306 |
306 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 307 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |