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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 }; | 535 }; |
536 static InlineRuntimeLUT* FindInlineRuntimeLUT(Handle<String> name); | 536 static InlineRuntimeLUT* FindInlineRuntimeLUT(Handle<String> name); |
537 bool CheckForInlineRuntimeCall(CallRuntime* node); | 537 bool CheckForInlineRuntimeCall(CallRuntime* node); |
538 static bool PatchInlineRuntimeEntry(Handle<String> name, | 538 static bool PatchInlineRuntimeEntry(Handle<String> name, |
539 const InlineRuntimeLUT& new_entry, | 539 const InlineRuntimeLUT& new_entry, |
540 InlineRuntimeLUT* old_entry); | 540 InlineRuntimeLUT* old_entry); |
541 void ProcessDeclarations(ZoneList<Declaration*>* declarations); | 541 void ProcessDeclarations(ZoneList<Declaration*>* declarations); |
542 | 542 |
543 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); | 543 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); |
544 | 544 |
| 545 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop); |
| 546 |
545 // Declare global variables and functions in the given array of | 547 // Declare global variables and functions in the given array of |
546 // name/value pairs. | 548 // name/value pairs. |
547 void DeclareGlobals(Handle<FixedArray> pairs); | 549 void DeclareGlobals(Handle<FixedArray> pairs); |
548 | 550 |
549 // Instantiate the function based on the shared function info. | 551 // Instantiate the function based on the shared function info. |
550 void InstantiateFunction(Handle<SharedFunctionInfo> function_info); | 552 void InstantiateFunction(Handle<SharedFunctionInfo> function_info); |
551 | 553 |
552 // Support for type checks. | 554 // Support for type checks. |
553 void GenerateIsSmi(ZoneList<Expression*>* args); | 555 void GenerateIsSmi(ZoneList<Expression*>* args); |
554 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); | 556 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); |
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1027 return ObjectBits::encode(object_.code()) | | 1029 return ObjectBits::encode(object_.code()) | |
1028 AddressBits::encode(addr_.code()) | | 1030 AddressBits::encode(addr_.code()) | |
1029 ScratchBits::encode(scratch_.code()); | 1031 ScratchBits::encode(scratch_.code()); |
1030 } | 1032 } |
1031 }; | 1033 }; |
1032 | 1034 |
1033 | 1035 |
1034 } } // namespace v8::internal | 1036 } } // namespace v8::internal |
1035 | 1037 |
1036 #endif // V8_X64_CODEGEN_X64_H_ | 1038 #endif // V8_X64_CODEGEN_X64_H_ |
OLD | NEW |