| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 masm_(masm), | 147 masm_(masm), |
| 148 info_(NULL), | 148 info_(NULL), |
| 149 frame_(NULL), | 149 frame_(NULL), |
| 150 allocator_(NULL), | 150 allocator_(NULL), |
| 151 state_(NULL), | 151 state_(NULL), |
| 152 loop_nesting_(0), | 152 loop_nesting_(0), |
| 153 in_safe_int32_mode_(false), | 153 in_safe_int32_mode_(false), |
| 154 safe_int32_mode_enabled_(true), | 154 safe_int32_mode_enabled_(true), |
| 155 function_return_is_shadowed_(false), | 155 function_return_is_shadowed_(false), |
| 156 in_spilled_code_(false), | 156 in_spilled_code_(false), |
| 157 jit_cookie_((FLAG_mask_constants_with_cookie) ? V8::Random() : 0) { | 157 jit_cookie_((FLAG_mask_constants_with_cookie) ? V8::RandomPrivate() : 0) { |
| 158 } | 158 } |
| 159 | 159 |
| 160 | 160 |
| 161 // Calling conventions: | 161 // Calling conventions: |
| 162 // ebp: caller's frame pointer | 162 // ebp: caller's frame pointer |
| 163 // esp: stack pointer | 163 // esp: stack pointer |
| 164 // edi: called JS function | 164 // edi: called JS function |
| 165 // esi: callee's context | 165 // esi: callee's context |
| 166 | 166 |
| 167 void CodeGenerator::Generate(CompilationInfo* info) { | 167 void CodeGenerator::Generate(CompilationInfo* info) { |
| (...skipping 9914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10082 masm.GetCode(&desc); | 10082 masm.GetCode(&desc); |
| 10083 // Call the function from C++. | 10083 // Call the function from C++. |
| 10084 return FUNCTION_CAST<MemCopyFunction>(buffer); | 10084 return FUNCTION_CAST<MemCopyFunction>(buffer); |
| 10085 } | 10085 } |
| 10086 | 10086 |
| 10087 #undef __ | 10087 #undef __ |
| 10088 | 10088 |
| 10089 } } // namespace v8::internal | 10089 } } // namespace v8::internal |
| 10090 | 10090 |
| 10091 #endif // V8_TARGET_ARCH_IA32 | 10091 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |