| 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 3983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3994 __ bind(&slow); | 3994 __ bind(&slow); |
| 3995 __ push(esi); | 3995 __ push(esi); |
| 3996 __ push(Immediate(proxy->name())); | 3996 __ push(Immediate(proxy->name())); |
| 3997 __ CallRuntime(Runtime::kLoadContextSlotNoReferenceError, 2); | 3997 __ CallRuntime(Runtime::kLoadContextSlotNoReferenceError, 2); |
| 3998 PrepareForBailout(expr, TOS_REG); | 3998 PrepareForBailout(expr, TOS_REG); |
| 3999 __ bind(&done); | 3999 __ bind(&done); |
| 4000 | 4000 |
| 4001 context()->Plug(eax); | 4001 context()->Plug(eax); |
| 4002 } else { | 4002 } else { |
| 4003 // This expression cannot throw a reference error at the top level. | 4003 // This expression cannot throw a reference error at the top level. |
| 4004 context()->HandleExpression(expr); | 4004 VisitInSameContext(expr); |
| 4005 } | 4005 } |
| 4006 } | 4006 } |
| 4007 | 4007 |
| 4008 | 4008 |
| 4009 bool FullCodeGenerator::TryLiteralCompare(Token::Value op, | 4009 bool FullCodeGenerator::TryLiteralCompare(Token::Value op, |
| 4010 Expression* left, | 4010 Expression* left, |
| 4011 Expression* right, | 4011 Expression* right, |
| 4012 Label* if_true, | 4012 Label* if_true, |
| 4013 Label* if_false, | 4013 Label* if_false, |
| 4014 Label* fall_through) { | 4014 Label* fall_through) { |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4329 // And return. | 4329 // And return. |
| 4330 __ ret(0); | 4330 __ ret(0); |
| 4331 } | 4331 } |
| 4332 | 4332 |
| 4333 | 4333 |
| 4334 #undef __ | 4334 #undef __ |
| 4335 | 4335 |
| 4336 } } // namespace v8::internal | 4336 } } // namespace v8::internal |
| 4337 | 4337 |
| 4338 #endif // V8_TARGET_ARCH_IA32 | 4338 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |