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

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

Issue 136643008: A64: Synchronize with r18256. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/lithium-codegen-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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 CallKind call_kind); 606 CallKind call_kind);
607 607
608 // Invoke the JavaScript function in the given register. Changes the 608 // Invoke the JavaScript function in the given register. Changes the
609 // current context to the context in the function before invoking. 609 // current context to the context in the function before invoking.
610 void InvokeFunction(Register function, 610 void InvokeFunction(Register function,
611 const ParameterCount& actual, 611 const ParameterCount& actual,
612 InvokeFlag flag, 612 InvokeFlag flag,
613 const CallWrapper& call_wrapper, 613 const CallWrapper& call_wrapper,
614 CallKind call_kind); 614 CallKind call_kind);
615 615
616 void InvokeFunction(Register function,
617 const ParameterCount& expected,
618 const ParameterCount& actual,
619 InvokeFlag flag,
620 const CallWrapper& call_wrapper,
621 CallKind call_kind);
622
616 void InvokeFunction(Handle<JSFunction> function, 623 void InvokeFunction(Handle<JSFunction> function,
617 const ParameterCount& expected, 624 const ParameterCount& expected,
618 const ParameterCount& actual, 625 const ParameterCount& actual,
619 InvokeFlag flag, 626 InvokeFlag flag,
620 const CallWrapper& call_wrapper, 627 const CallWrapper& call_wrapper,
621 CallKind call_kind); 628 CallKind call_kind);
622 629
623 void IsObjectJSObjectType(Register heap_object, 630 void IsObjectJSObjectType(Register heap_object,
624 Register map, 631 Register map,
625 Register scratch, 632 Register scratch,
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 1191
1185 // Like Assert(), but always enabled. 1192 // Like Assert(), but always enabled.
1186 void Check(Condition cond, BailoutReason reason); 1193 void Check(Condition cond, BailoutReason reason);
1187 1194
1188 // Print a message to stdout and abort execution. 1195 // Print a message to stdout and abort execution.
1189 void Abort(BailoutReason msg); 1196 void Abort(BailoutReason msg);
1190 1197
1191 // Verify restrictions about code generated in stubs. 1198 // Verify restrictions about code generated in stubs.
1192 void set_generating_stub(bool value) { generating_stub_ = value; } 1199 void set_generating_stub(bool value) { generating_stub_ = value; }
1193 bool generating_stub() { return generating_stub_; } 1200 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; } 1201 void set_has_frame(bool value) { has_frame_ = value; }
1197 bool has_frame() { return has_frame_; } 1202 bool has_frame() { return has_frame_; }
1198 inline bool AllowThisStubCall(CodeStub* stub); 1203 inline bool AllowThisStubCall(CodeStub* stub);
1199 1204
1200 // EABI variant for double arguments in use. 1205 // EABI variant for double arguments in use.
1201 bool use_eabi_hardfloat() { 1206 bool use_eabi_hardfloat() {
1202 #ifdef __arm__ 1207 #ifdef __arm__
1203 return OS::ArmUsingHardFloat(); 1208 return OS::ArmUsingHardFloat();
1204 #elif USE_EABI_HARDFLOAT 1209 #elif USE_EABI_HARDFLOAT
1205 return true; 1210 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 1469 // Helper for throwing exceptions. Compute a handler address and jump to
1465 // it. See the implementation for register usage. 1470 // it. See the implementation for register usage.
1466 void JumpToHandlerEntry(); 1471 void JumpToHandlerEntry();
1467 1472
1468 // Compute memory operands for safepoint stack slots. 1473 // Compute memory operands for safepoint stack slots.
1469 static int SafepointRegisterStackIndex(int reg_code); 1474 static int SafepointRegisterStackIndex(int reg_code);
1470 MemOperand SafepointRegisterSlot(Register reg); 1475 MemOperand SafepointRegisterSlot(Register reg);
1471 MemOperand SafepointRegistersAndDoublesSlot(Register reg); 1476 MemOperand SafepointRegistersAndDoublesSlot(Register reg);
1472 1477
1473 bool generating_stub_; 1478 bool generating_stub_;
1474 bool allow_stub_calls_;
1475 bool has_frame_; 1479 bool has_frame_;
1476 // This handle will be patched with the code object on installation. 1480 // This handle will be patched with the code object on installation.
1477 Handle<Object> code_object_; 1481 Handle<Object> code_object_;
1478 1482
1479 // Needs access to SafepointRegisterStackIndex for compiled frame 1483 // Needs access to SafepointRegisterStackIndex for compiled frame
1480 // traversal. 1484 // traversal.
1481 friend class StandardFrame; 1485 friend class StandardFrame;
1482 }; 1486 };
1483 1487
1484 1488
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1543 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1540 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1544 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1541 #else 1545 #else
1542 #define ACCESS_MASM(masm) masm-> 1546 #define ACCESS_MASM(masm) masm->
1543 #endif 1547 #endif
1544 1548
1545 1549
1546 } } // namespace v8::internal 1550 } } // namespace v8::internal
1547 1551
1548 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1552 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698