| OLD | NEW |
| 1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 236 |
| 237 // Call the runtime, given the number of arguments expected on (and | 237 // Call the runtime, given the number of arguments expected on (and |
| 238 // removed from) the top of the physical frame. | 238 // removed from) the top of the physical frame. |
| 239 Result CallRuntime(Runtime::Function* f, int frame_arg_count); | 239 Result CallRuntime(Runtime::Function* f, int frame_arg_count); |
| 240 Result CallRuntime(Runtime::FunctionId id, int frame_arg_count); | 240 Result CallRuntime(Runtime::FunctionId id, int frame_arg_count); |
| 241 | 241 |
| 242 // Invoke a builtin, given the number of arguments it expects on (and | 242 // Invoke a builtin, given the number of arguments it expects on (and |
| 243 // removes from) the top of the physical frame. | 243 // removes from) the top of the physical frame. |
| 244 Result InvokeBuiltin(Builtins::JavaScript id, | 244 Result InvokeBuiltin(Builtins::JavaScript id, |
| 245 InvokeJSFlags flag, | 245 InvokeJSFlags flag, |
| 246 Result* arg_count_register, |
| 246 int frame_arg_count); | 247 int frame_arg_count); |
| 247 | 248 |
| 248 // Call into a JS code object, given the number of arguments it | 249 // Call into a JS code object, given the number of arguments it |
| 249 // removes from the top of the physical frame. | 250 // removes from the top of the physical frame. |
| 250 // Register arguments are passed as results and consumed by the call. | 251 // Register arguments are passed as results and consumed by the call. |
| 251 Result CallCodeObject(Handle<Code> ic, | 252 Result CallCodeObject(Handle<Code> ic, |
| 252 RelocInfo::Mode rmode, | 253 RelocInfo::Mode rmode, |
| 253 int dropped_args); | 254 int dropped_args); |
| 254 Result CallCodeObject(Handle<Code> ic, | 255 Result CallCodeObject(Handle<Code> ic, |
| 255 RelocInfo::Mode rmode, | 256 RelocInfo::Mode rmode, |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 bool Equals(VirtualFrame* other); | 448 bool Equals(VirtualFrame* other); |
| 448 #endif | 449 #endif |
| 449 | 450 |
| 450 friend class JumpTarget; | 451 friend class JumpTarget; |
| 451 }; | 452 }; |
| 452 | 453 |
| 453 | 454 |
| 454 } } // namespace v8::internal | 455 } } // namespace v8::internal |
| 455 | 456 |
| 456 #endif // V8_VIRTUAL_FRAME_ARM_H_ | 457 #endif // V8_VIRTUAL_FRAME_ARM_H_ |
| OLD | NEW |