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

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 11093074: Get rid of static module allocation, do it in code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed last comments; added other back-ends Created 8 years, 1 month 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/full-codegen-arm.cc ('k') | src/ast.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 Register object, 300 Register object,
301 Register address, 301 Register address,
302 Register value, 302 Register value,
303 LinkRegisterStatus lr_status, 303 LinkRegisterStatus lr_status,
304 SaveFPRegsMode save_fp, 304 SaveFPRegsMode save_fp,
305 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, 305 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET,
306 SmiCheck smi_check = INLINE_SMI_CHECK); 306 SmiCheck smi_check = INLINE_SMI_CHECK);
307 307
308 // Push a handle. 308 // Push a handle.
309 void Push(Handle<Object> handle); 309 void Push(Handle<Object> handle);
310 void Push(Smi* smi) { Push(Handle<Smi>(smi)); }
310 311
311 // Push two registers. Pushes leftmost register first (to highest address). 312 // Push two registers. Pushes leftmost register first (to highest address).
312 void Push(Register src1, Register src2, Condition cond = al) { 313 void Push(Register src1, Register src2, Condition cond = al) {
313 ASSERT(!src1.is(src2)); 314 ASSERT(!src1.is(src2));
314 if (src1.code() > src2.code()) { 315 if (src1.code() > src2.code()) {
315 stm(db_w, sp, src1.bit() | src2.bit(), cond); 316 stm(db_w, sp, src1.bit() | src2.bit(), cond);
316 } else { 317 } else {
317 str(src1, MemOperand(sp, 4, NegPreIndex), cond); 318 str(src1, MemOperand(sp, 4, NegPreIndex), cond);
318 str(src2, MemOperand(sp, 4, NegPreIndex), cond); 319 str(src2, MemOperand(sp, 4, NegPreIndex), cond);
319 } 320 }
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after
1402 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1403 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1403 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1404 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1404 #else 1405 #else
1405 #define ACCESS_MASM(masm) masm-> 1406 #define ACCESS_MASM(masm) masm->
1406 #endif 1407 #endif
1407 1408
1408 1409
1409 } } // namespace v8::internal 1410 } } // namespace v8::internal
1410 1411
1411 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1412 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/ast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698