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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 | 309 |
310 // Allocate and install the code. | 310 // Allocate and install the code. |
311 static Handle<Code> MakeCodeEpilogue(MacroAssembler* masm, | 311 static Handle<Code> MakeCodeEpilogue(MacroAssembler* masm, |
312 Code::Flags flags, | 312 Code::Flags flags, |
313 CompilationInfo* info); | 313 CompilationInfo* info); |
314 | 314 |
315 #ifdef ENABLE_LOGGING_AND_PROFILING | 315 #ifdef ENABLE_LOGGING_AND_PROFILING |
316 static bool ShouldGenerateLog(Expression* type); | 316 static bool ShouldGenerateLog(Expression* type); |
317 #endif | 317 #endif |
318 | 318 |
319 static void RecordPositions(MacroAssembler* masm, int pos); | 319 static bool RecordPositions(MacroAssembler* masm, |
| 320 int pos, |
| 321 bool right_here = false); |
320 | 322 |
321 // Accessors | 323 // Accessors |
322 MacroAssembler* masm() { return masm_; } | 324 MacroAssembler* masm() { return masm_; } |
323 VirtualFrame* frame() const { return frame_; } | 325 VirtualFrame* frame() const { return frame_; } |
324 inline Handle<Script> script(); | 326 inline Handle<Script> script(); |
325 | 327 |
326 bool has_valid_frame() const { return frame_ != NULL; } | 328 bool has_valid_frame() const { return frame_ != NULL; } |
327 | 329 |
328 // Set the virtual frame to be new_frame, with non-frame register | 330 // Set the virtual frame to be new_frame, with non-frame register |
329 // reference counts given by non_frame_registers. The non-frame | 331 // reference counts given by non_frame_registers. The non-frame |
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1055 void Print() { | 1057 void Print() { |
1056 PrintF("NumberToStringStub\n"); | 1058 PrintF("NumberToStringStub\n"); |
1057 } | 1059 } |
1058 #endif | 1060 #endif |
1059 }; | 1061 }; |
1060 | 1062 |
1061 | 1063 |
1062 } } // namespace v8::internal | 1064 } } // namespace v8::internal |
1063 | 1065 |
1064 #endif // V8_IA32_CODEGEN_IA32_H_ | 1066 #endif // V8_IA32_CODEGEN_IA32_H_ |
OLD | NEW |