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

Unified Diff: src/macro-assembler-arm.h

Issue 1930: Adapt to new calling convention on ARM. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ic-ia32.cc ('k') | src/macro-assembler-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/macro-assembler-arm.h
===================================================================
--- src/macro-assembler-arm.h (revision 288)
+++ src/macro-assembler-arm.h (working copy)
@@ -98,21 +98,13 @@
// ---------------------------------------------------------------------------
// Activation frames
- void EnterJSFrame(int argc);
- void ExitJSFrame(ExitJSFlag flag);
+ void EnterInternalFrame();
+ void ExitInternalFrame();
// ---------------------------------------------------------------------------
// JavaScript invokes
- // Helper functions for generating invokes.
- void InvokePrologue(const ParameterCount& expected,
- const ParameterCount& actual,
- Handle<Code> code_constant,
- Register code_reg,
- Label* done,
- InvokeFlag flag);
-
// Invoke the JavaScript function code by either calling or jumping.
void InvokeCode(Register code,
const ParameterCount& expected,
@@ -131,6 +123,7 @@
const ParameterCount& actual,
InvokeFlag flag);
+
// ---------------------------------------------------------------------------
// Debugger Support
@@ -200,8 +193,12 @@
// Invoke specified builtin JavaScript function. Adds an entry to
// the unresolved list if the name does not resolve.
- void InvokeBuiltin(const char* name, int argc, InvokeJSFlags flags);
+ void InvokeBuiltin(Builtins::JavaScript id, InvokeJSFlags flags);
+ // Store the code object for the given builtin in the target register and
+ // setup the function in r1.
+ void GetBuiltinEntry(Register target, Builtins::JavaScript id);
+
struct Unresolved {
int pc;
uint32_t flags; // see Bootstrapper::FixupFlags decoders/encoders.
@@ -233,6 +230,18 @@
List<Unresolved> unresolved_;
bool generating_stub_;
bool allow_stub_calls_;
+
+ // Helper functions for generating invokes.
+ void InvokePrologue(const ParameterCount& expected,
+ const ParameterCount& actual,
+ Handle<Code> code_constant,
+ Register code_reg,
+ Label* done,
+ InvokeFlag flag);
+
+ // Get the code for the given builtin. Returns if able to resolve
+ // the function in the 'resolved' flag.
+ Handle<Code> ResolveBuiltin(Builtins::JavaScript id, bool* resolved);
};
« no previous file with comments | « src/ic-ia32.cc ('k') | src/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698