OLD | NEW |
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 // Invoke the JavaScript function code by either calling or jumping. | 98 // Invoke the JavaScript function code by either calling or jumping. |
99 void InvokeCode(const Operand& code, | 99 void InvokeCode(const Operand& code, |
100 const ParameterCount& expected, | 100 const ParameterCount& expected, |
101 const ParameterCount& actual, | 101 const ParameterCount& actual, |
102 InvokeFlag flag); | 102 InvokeFlag flag); |
103 | 103 |
104 void InvokeCode(Handle<Code> code, | 104 void InvokeCode(Handle<Code> code, |
105 const ParameterCount& expected, | 105 const ParameterCount& expected, |
106 const ParameterCount& actual, | 106 const ParameterCount& actual, |
107 RelocMode rmode, | 107 RelocInfo::Mode rmode, |
108 InvokeFlag flag); | 108 InvokeFlag flag); |
109 | 109 |
110 // Invoke the JavaScript function in the given register. Changes the | 110 // Invoke the JavaScript function in the given register. Changes the |
111 // current context to the context in the function before invoking. | 111 // current context to the context in the function before invoking. |
112 void InvokeFunction(Register function, | 112 void InvokeFunction(Register function, |
113 const ParameterCount& actual, | 113 const ParameterCount& actual, |
114 InvokeFlag flag); | 114 InvokeFlag flag); |
115 | 115 |
116 // Invoke specified builtin JavaScript function. Adds an entry to | 116 // Invoke specified builtin JavaScript function. Adds an entry to |
117 // the unresolved list if the name does not resolve. | 117 // the unresolved list if the name does not resolve. |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 Register index, | 287 Register index, |
288 ScaleFactor scale, | 288 ScaleFactor scale, |
289 int offset) { | 289 int offset) { |
290 return Operand(object, index, scale, offset - kHeapObjectTag); | 290 return Operand(object, index, scale, offset - kHeapObjectTag); |
291 } | 291 } |
292 | 292 |
293 | 293 |
294 } } // namespace v8::internal | 294 } } // namespace v8::internal |
295 | 295 |
296 #endif // V8_MACRO_ASSEMBLER_IA32_H_ | 296 #endif // V8_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |