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

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

Issue 96853003: Drop IsPregenerated() and allow_stub_calls flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Also ditch the fixed register hack that was required for RecordWriteStub. Created 7 years 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/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('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 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 1184
1185 // Like Assert(), but always enabled. 1185 // Like Assert(), but always enabled.
1186 void Check(Condition cond, BailoutReason reason); 1186 void Check(Condition cond, BailoutReason reason);
1187 1187
1188 // Print a message to stdout and abort execution. 1188 // Print a message to stdout and abort execution.
1189 void Abort(BailoutReason msg); 1189 void Abort(BailoutReason msg);
1190 1190
1191 // Verify restrictions about code generated in stubs. 1191 // Verify restrictions about code generated in stubs.
1192 void set_generating_stub(bool value) { generating_stub_ = value; } 1192 void set_generating_stub(bool value) { generating_stub_ = value; }
1193 bool generating_stub() { return generating_stub_; } 1193 bool generating_stub() { return generating_stub_; }
1194 void set_allow_stub_calls(bool value) { allow_stub_calls_ = value; }
1195 bool allow_stub_calls() { return allow_stub_calls_; }
1196 void set_has_frame(bool value) { has_frame_ = value; } 1194 void set_has_frame(bool value) { has_frame_ = value; }
1197 bool has_frame() { return has_frame_; } 1195 bool has_frame() { return has_frame_; }
1198 inline bool AllowThisStubCall(CodeStub* stub); 1196 inline bool AllowThisStubCall(CodeStub* stub);
1199 1197
1200 // EABI variant for double arguments in use. 1198 // EABI variant for double arguments in use.
1201 bool use_eabi_hardfloat() { 1199 bool use_eabi_hardfloat() {
1202 #ifdef __arm__ 1200 #ifdef __arm__
1203 return OS::ArmUsingHardFloat(); 1201 return OS::ArmUsingHardFloat();
1204 #elif USE_EABI_HARDFLOAT 1202 #elif USE_EABI_HARDFLOAT
1205 return true; 1203 return true;
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
1464 // Helper for throwing exceptions. Compute a handler address and jump to 1462 // Helper for throwing exceptions. Compute a handler address and jump to
1465 // it. See the implementation for register usage. 1463 // it. See the implementation for register usage.
1466 void JumpToHandlerEntry(); 1464 void JumpToHandlerEntry();
1467 1465
1468 // Compute memory operands for safepoint stack slots. 1466 // Compute memory operands for safepoint stack slots.
1469 static int SafepointRegisterStackIndex(int reg_code); 1467 static int SafepointRegisterStackIndex(int reg_code);
1470 MemOperand SafepointRegisterSlot(Register reg); 1468 MemOperand SafepointRegisterSlot(Register reg);
1471 MemOperand SafepointRegistersAndDoublesSlot(Register reg); 1469 MemOperand SafepointRegistersAndDoublesSlot(Register reg);
1472 1470
1473 bool generating_stub_; 1471 bool generating_stub_;
1474 bool allow_stub_calls_;
1475 bool has_frame_; 1472 bool has_frame_;
1476 // This handle will be patched with the code object on installation. 1473 // This handle will be patched with the code object on installation.
1477 Handle<Object> code_object_; 1474 Handle<Object> code_object_;
1478 1475
1479 // Needs access to SafepointRegisterStackIndex for compiled frame 1476 // Needs access to SafepointRegisterStackIndex for compiled frame
1480 // traversal. 1477 // traversal.
1481 friend class StandardFrame; 1478 friend class StandardFrame;
1482 }; 1479 };
1483 1480
1484 1481
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1536 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1540 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1537 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1541 #else 1538 #else
1542 #define ACCESS_MASM(masm) masm-> 1539 #define ACCESS_MASM(masm) masm->
1543 #endif 1540 #endif
1544 1541
1545 1542
1546 } } // namespace v8::internal 1543 } } // namespace v8::internal
1547 1544
1548 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1545 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698