OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1933 return MarkAsCall(DefineFixed(new LRegExpLiteral, eax), instr); | 1933 return MarkAsCall(DefineFixed(new LRegExpLiteral, eax), instr); |
1934 } | 1934 } |
1935 | 1935 |
1936 | 1936 |
1937 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) { | 1937 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) { |
1938 return MarkAsCall(DefineFixed(new LFunctionLiteral, eax), instr); | 1938 return MarkAsCall(DefineFixed(new LFunctionLiteral, eax), instr); |
1939 } | 1939 } |
1940 | 1940 |
1941 | 1941 |
1942 LInstruction* LChunkBuilder::DoDeleteProperty(HDeleteProperty* instr) { | 1942 LInstruction* LChunkBuilder::DoDeleteProperty(HDeleteProperty* instr) { |
1943 LDeleteProperty* result = new LDeleteProperty(Use(instr->object()), | 1943 LDeleteProperty* result = |
1944 UseOrConstant(instr->key())); | 1944 new LDeleteProperty(Use(instr->object()), UseOrConstant(instr->key())); |
1945 return MarkAsCall(DefineFixed(result, eax), instr); | 1945 return MarkAsCall(DefineFixed(result, eax), instr); |
1946 } | 1946 } |
1947 | 1947 |
1948 | 1948 |
1949 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) { | 1949 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) { |
1950 allocator_->MarkAsOsrEntry(); | 1950 allocator_->MarkAsOsrEntry(); |
1951 current_block_->last_environment()->set_ast_id(instr->ast_id()); | 1951 current_block_->last_environment()->set_ast_id(instr->ast_id()); |
1952 return AssignEnvironment(new LOsrEntry); | 1952 return AssignEnvironment(new LOsrEntry); |
1953 } | 1953 } |
1954 | 1954 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2061 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 2061 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
2062 HEnvironment* outer = current_block_->last_environment()->outer(); | 2062 HEnvironment* outer = current_block_->last_environment()->outer(); |
2063 current_block_->UpdateEnvironment(outer); | 2063 current_block_->UpdateEnvironment(outer); |
2064 return NULL; | 2064 return NULL; |
2065 } | 2065 } |
2066 | 2066 |
2067 | 2067 |
2068 } } // namespace v8::internal | 2068 } } // namespace v8::internal |
2069 | 2069 |
2070 #endif // V8_TARGET_ARCH_IA32 | 2070 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |