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

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

Issue 164136: Change the SpilledScope scope and ...AndSpill functions on ARM so that... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 4 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') | src/arm/virtual-frame-arm.h » ('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 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 16 matching lines...) Expand all
27 27
28 28
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 namespace v8 { 32 namespace v8 {
33 namespace internal { 33 namespace internal {
34 34
35 #define __ ACCESS_MASM(masm_) 35 #define __ ACCESS_MASM(masm_)
36 36
37 void CodeGenerator::LoadConditionAndSpill(Expression* expression,
38 TypeofState typeof_state,
39 JumpTarget* true_target,
40 JumpTarget* false_target,
41 bool force_control) {
42 LoadCondition(expression, typeof_state, true_target, false_target,
43 force_control);
44 }
45
46
47 void CodeGenerator::LoadAndSpill(Expression* expression,
48 TypeofState typeof_state) {
49 Load(expression, typeof_state);
50 }
51
52
53 void CodeGenerator::VisitAndSpill(Statement* statement) {
54 Visit(statement);
55 }
56
57
58 void CodeGenerator::VisitStatementsAndSpill(ZoneList<Statement*>* statements) {
59 VisitStatements(statements);
60 }
61
62
63 void Reference::GetValueAndSpill(TypeofState typeof_state) {
64 GetValue(typeof_state);
65 }
66
67
37 // Platform-specific inline functions. 68 // Platform-specific inline functions.
38 69
39 void DeferredCode::Jump() { __ jmp(&entry_label_); } 70 void DeferredCode::Jump() { __ jmp(&entry_label_); }
40 void DeferredCode::Branch(Condition cc) { __ b(cc, &entry_label_); } 71 void DeferredCode::Branch(Condition cc) { __ b(cc, &entry_label_); }
41 72
42 void CodeGenerator::GenerateMathSin(ZoneList<Expression*>* args) { 73 void CodeGenerator::GenerateMathSin(ZoneList<Expression*>* args) {
43 GenerateFastMathOp(SIN, args); 74 GenerateFastMathOp(SIN, args);
44 } 75 }
45 76
46 77
47 void CodeGenerator::GenerateMathCos(ZoneList<Expression*>* args) { 78 void CodeGenerator::GenerateMathCos(ZoneList<Expression*>* args) {
48 GenerateFastMathOp(COS, args); 79 GenerateFastMathOp(COS, args);
49 } 80 }
50 81
51 82
52 #undef __ 83 #undef __
53 84
54 } } // namespace v8::internal 85 } } // namespace v8::internal
55 86
56 #endif // V8_ARM_CODEGEN_ARM_INL_H_ 87 #endif // V8_ARM_CODEGEN_ARM_INL_H_
OLDNEW
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | src/arm/virtual-frame-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698