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

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

Issue 4035: Refactored the code for entering and leaving exit frames (calls... (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // address of the heap object 'object'. The address must be in the first 8K 92 // address of the heap object 'object'. The address must be in the first 8K
93 // of an allocated page. The 'scratch' register is used in the 93 // of an allocated page. The 'scratch' register is used in the
94 // implementation and all 3 registers are clobbered by the operation, as 94 // implementation and all 3 registers are clobbered by the operation, as
95 // well as the ip register. 95 // well as the ip register.
96 void RecordWrite(Register object, Register offset, Register scratch); 96 void RecordWrite(Register object, Register offset, Register scratch);
97 97
98 // --------------------------------------------------------------------------- 98 // ---------------------------------------------------------------------------
99 // Activation frames 99 // Activation frames
100 100
101 void EnterInternalFrame(); 101 void EnterInternalFrame();
102 void ExitInternalFrame(); 102 void LeaveInternalFrame();
103
104 // Enter specific kind of exit frame; either EXIT or EXIT_DEBUG.
105 void EnterExitFrame(StackFrame::Type type);
106 void LeaveExitFrame();
103 107
104 108
105 // --------------------------------------------------------------------------- 109 // ---------------------------------------------------------------------------
106 // JavaScript invokes 110 // JavaScript invokes
107 111
108 // Invoke the JavaScript function code by either calling or jumping. 112 // Invoke the JavaScript function code by either calling or jumping.
109 void InvokeCode(Register code, 113 void InvokeCode(Register code,
110 const ParameterCount& expected, 114 const ParameterCount& expected,
111 const ParameterCount& actual, 115 const ParameterCount& actual,
112 InvokeFlag flag); 116 InvokeFlag flag);
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 // Generate a MemOperand for loading a field from an object. 255 // Generate a MemOperand for loading a field from an object.
252 static inline MemOperand FieldMemOperand(Register object, int offset) { 256 static inline MemOperand FieldMemOperand(Register object, int offset) {
253 return MemOperand(object, offset - kHeapObjectTag); 257 return MemOperand(object, offset - kHeapObjectTag);
254 } 258 }
255 259
256 260
257 261
258 } } // namespace v8::internal 262 } } // namespace v8::internal
259 263
260 #endif // V8_MACRO_ASSEMBLER_ARM_H_ 264 #endif // V8_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« src/codegen-ia32.cc ('K') | « 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