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

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

Issue 104663004: Preview of a first step towards unification of hydrogen calls (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed code review comments Created 6 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 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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 void SetCallKind(Register dst, CallKind kind); 591 void SetCallKind(Register dst, CallKind kind);
592 592
593 // Invoke the JavaScript function code by either calling or jumping. 593 // Invoke the JavaScript function code by either calling or jumping.
594 void InvokeCode(Register code, 594 void InvokeCode(Register code,
595 const ParameterCount& expected, 595 const ParameterCount& expected,
596 const ParameterCount& actual, 596 const ParameterCount& actual,
597 InvokeFlag flag, 597 InvokeFlag flag,
598 const CallWrapper& call_wrapper, 598 const CallWrapper& call_wrapper,
599 CallKind call_kind); 599 CallKind call_kind);
600 600
601 void InvokeCode(Handle<Code> code,
602 const ParameterCount& expected,
603 const ParameterCount& actual,
604 RelocInfo::Mode rmode,
605 InvokeFlag flag,
606 CallKind call_kind);
607
608 // Invoke the JavaScript function in the given register. Changes the 601 // Invoke the JavaScript function in the given register. Changes the
609 // current context to the context in the function before invoking. 602 // current context to the context in the function before invoking.
610 void InvokeFunction(Register function, 603 void InvokeFunction(Register function,
611 const ParameterCount& actual, 604 const ParameterCount& actual,
612 InvokeFlag flag, 605 InvokeFlag flag,
613 const CallWrapper& call_wrapper, 606 const CallWrapper& call_wrapper,
614 CallKind call_kind); 607 CallKind call_kind);
615 608
616 void InvokeFunction(Register function, 609 void InvokeFunction(Register function,
617 const ParameterCount& expected, 610 const ParameterCount& expected,
(...skipping 925 matching lines...) Expand 10 before | Expand all | Expand 10 after
1543 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1536 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1544 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1537 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1545 #else 1538 #else
1546 #define ACCESS_MASM(masm) masm-> 1539 #define ACCESS_MASM(masm) masm->
1547 #endif 1540 #endif
1548 1541
1549 1542
1550 } } // namespace v8::internal 1543 } } // namespace v8::internal
1551 1544
1552 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1545 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698