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

Side by Side Diff: src/arm/codegen-arm-inl.h

Issue 2414001: ARM: Remove LoadConditionAndSpill and VisitAndSpill. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 6 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/arm/codegen-arm.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698