OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 18 matching lines...) Expand all Loading... |
29 #ifndef V8_ARM_CODEGEN_ARM_INL_H_ | 29 #ifndef V8_ARM_CODEGEN_ARM_INL_H_ |
30 #define V8_ARM_CODEGEN_ARM_INL_H_ | 30 #define V8_ARM_CODEGEN_ARM_INL_H_ |
31 | 31 |
32 #include "virtual-frame-arm.h" | 32 #include "virtual-frame-arm.h" |
33 | 33 |
34 namespace v8 { | 34 namespace v8 { |
35 namespace internal { | 35 namespace internal { |
36 | 36 |
37 #define __ ACCESS_MASM(masm_) | 37 #define __ ACCESS_MASM(masm_) |
38 | 38 |
39 void CodeGenerator::LoadConditionAndSpill(Expression* expression, | |
40 JumpTarget* true_target, | |
41 JumpTarget* false_target, | |
42 bool force_control) { | |
43 LoadCondition(expression, true_target, false_target, force_control); | |
44 } | |
45 | |
46 | |
47 void CodeGenerator::VisitAndSpill(Statement* statement) { | |
48 Visit(statement); | |
49 } | |
50 | |
51 | |
52 void CodeGenerator::VisitStatementsAndSpill(ZoneList<Statement*>* statements) { | |
53 VisitStatements(statements); | |
54 } | |
55 | |
56 | |
57 // Platform-specific inline functions. | 39 // Platform-specific inline functions. |
58 | 40 |
59 void DeferredCode::Jump() { __ jmp(&entry_label_); } | 41 void DeferredCode::Jump() { __ jmp(&entry_label_); } |
60 void DeferredCode::Branch(Condition cc) { __ b(cc, &entry_label_); } | 42 void DeferredCode::Branch(Condition cc) { __ b(cc, &entry_label_); } |
61 | 43 |
62 #undef __ | 44 #undef __ |
63 | 45 |
64 } } // namespace v8::internal | 46 } } // namespace v8::internal |
65 | 47 |
66 #endif // V8_ARM_CODEGEN_ARM_INL_H_ | 48 #endif // V8_ARM_CODEGEN_ARM_INL_H_ |
OLD | NEW |