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

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

Issue 6250002: [v8-dev] Implementing Math.floor and Math.sqrt for crankshaft. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 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
OLDNEW
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 bool is_generating() const { return status_ == GENERATING; } 100 bool is_generating() const { return status_ == GENERATING; }
101 bool is_done() const { return status_ == DONE; } 101 bool is_done() const { return status_ == DONE; }
102 bool is_aborted() const { return status_ == ABORTED; } 102 bool is_aborted() const { return status_ == ABORTED; }
103 103
104 LChunk* chunk() const { return chunk_; } 104 LChunk* chunk() const { return chunk_; }
105 Scope* scope() const { return scope_; } 105 Scope* scope() const { return scope_; }
106 HGraph* graph() const { return chunk_->graph(); } 106 HGraph* graph() const { return chunk_->graph(); }
107 MacroAssembler* masm() const { return masm_; } 107 MacroAssembler* masm() const { return masm_; }
108 108
109 Register scratch0() { return r9; } 109 Register scratch0() { return r9; }
110 SwVfpRegister single_scratch0() { return s0; }
111 SwVfpRegister single_scratch1() { return s1; }
112 DwVfpRegister double_scratch0() { return d1; }
110 113
111 int GetNextEmittedBlock(int block); 114 int GetNextEmittedBlock(int block);
112 LInstruction* GetNextInstruction(); 115 LInstruction* GetNextInstruction();
113 116
114 void EmitClassOfTest(Label* if_true, 117 void EmitClassOfTest(Label* if_true,
115 Label* if_false, 118 Label* if_false,
116 Handle<String> class_name, 119 Handle<String> class_name,
117 Register input, 120 Register input,
118 Register temporary, 121 Register temporary,
119 Register temporary2); 122 Register temporary2);
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 private: 276 private:
274 LCodeGen* codegen_; 277 LCodeGen* codegen_;
275 Label entry_; 278 Label entry_;
276 Label exit_; 279 Label exit_;
277 Label* external_exit_; 280 Label* external_exit_;
278 }; 281 };
279 282
280 } } // namespace v8::internal 283 } } // namespace v8::internal
281 284
282 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 285 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698