| OLD | NEW | 
|     1 // Copyright 2012 the V8 project authors. All rights reserved. |     1 // Copyright 2012 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   231   //  -- rsp[0] : return address |   231   //  -- rsp[0] : return address | 
|   232   // ----------------------------------- |   232   // ----------------------------------- | 
|   233   Label miss; |   233   Label miss; | 
|   234  |   234  | 
|   235   StubCompiler::GenerateLoadArrayLength(masm, rax, rdx, &miss); |   235   StubCompiler::GenerateLoadArrayLength(masm, rax, rdx, &miss); | 
|   236   __ bind(&miss); |   236   __ bind(&miss); | 
|   237   StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC); |   237   StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC); | 
|   238 } |   238 } | 
|   239  |   239  | 
|   240  |   240  | 
|   241 void LoadIC::GenerateStringLength(MacroAssembler* masm, bool support_wrappers) { |  | 
|   242   // ----------- S t a t e ------------- |  | 
|   243   //  -- rax    : receiver |  | 
|   244   //  -- rcx    : name |  | 
|   245   //  -- rsp[0] : return address |  | 
|   246   // ----------------------------------- |  | 
|   247   Label miss; |  | 
|   248  |  | 
|   249   StubCompiler::GenerateLoadStringLength(masm, rax, rdx, rbx, &miss, |  | 
|   250                                          support_wrappers); |  | 
|   251   __ bind(&miss); |  | 
|   252   StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC); |  | 
|   253 } |  | 
|   254  |  | 
|   255  |  | 
|   256 void LoadIC::GenerateFunctionPrototype(MacroAssembler* masm) { |   241 void LoadIC::GenerateFunctionPrototype(MacroAssembler* masm) { | 
|   257   // ----------- S t a t e ------------- |   242   // ----------- S t a t e ------------- | 
|   258   //  -- rax    : receiver |   243   //  -- rax    : receiver | 
|   259   //  -- rcx    : name |   244   //  -- rcx    : name | 
|   260   //  -- rsp[0] : return address |   245   //  -- rsp[0] : return address | 
|   261   // ----------------------------------- |   246   // ----------------------------------- | 
|   262   Label miss; |   247   Label miss; | 
|   263  |   248  | 
|   264   StubCompiler::GenerateLoadFunctionPrototype(masm, rax, rdx, rbx, &miss); |   249   StubCompiler::GenerateLoadFunctionPrototype(masm, rax, rdx, rbx, &miss); | 
|   265   __ bind(&miss); |   250   __ bind(&miss); | 
| (...skipping 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1782   Condition cc = (check == ENABLE_INLINED_SMI_CHECK) |  1767   Condition cc = (check == ENABLE_INLINED_SMI_CHECK) | 
|  1783       ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) |  1768       ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) | 
|  1784       : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); |  1769       : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); | 
|  1785   *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); |  1770   *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); | 
|  1786 } |  1771 } | 
|  1787  |  1772  | 
|  1788  |  1773  | 
|  1789 } }  // namespace v8::internal |  1774 } }  // namespace v8::internal | 
|  1790  |  1775  | 
|  1791 #endif  // V8_TARGET_ARCH_X64 |  1776 #endif  // V8_TARGET_ARCH_X64 | 
| OLD | NEW |