Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Side by Side Diff: src/x64/codegen-x64.h

Issue 3151002: Refactor and correct IS_SPEC_OBJECT macro (bringing bleeding edge r5087 to 2.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/2.2/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/version.cc ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 571
572 // Instantiate the function based on the shared function info. 572 // Instantiate the function based on the shared function info.
573 void InstantiateFunction(Handle<SharedFunctionInfo> function_info); 573 void InstantiateFunction(Handle<SharedFunctionInfo> function_info);
574 574
575 // Support for type checks. 575 // Support for type checks.
576 void GenerateIsSmi(ZoneList<Expression*>* args); 576 void GenerateIsSmi(ZoneList<Expression*>* args);
577 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 577 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
578 void GenerateIsArray(ZoneList<Expression*>* args); 578 void GenerateIsArray(ZoneList<Expression*>* args);
579 void GenerateIsRegExp(ZoneList<Expression*>* args); 579 void GenerateIsRegExp(ZoneList<Expression*>* args);
580 void GenerateIsObject(ZoneList<Expression*>* args); 580 void GenerateIsObject(ZoneList<Expression*>* args);
581 void GenerateIsSpecObject(ZoneList<Expression*>* args);
581 void GenerateIsFunction(ZoneList<Expression*>* args); 582 void GenerateIsFunction(ZoneList<Expression*>* args);
582 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); 583 void GenerateIsUndetectableObject(ZoneList<Expression*>* args);
583 584
584 // Support for construct call checks. 585 // Support for construct call checks.
585 void GenerateIsConstructCall(ZoneList<Expression*>* args); 586 void GenerateIsConstructCall(ZoneList<Expression*>* args);
586 587
587 // Support for arguments.length and arguments[?]. 588 // Support for arguments.length and arguments[?].
588 void GenerateArgumentsLength(ZoneList<Expression*>* args); 589 void GenerateArgumentsLength(ZoneList<Expression*>* args);
589 void GenerateArguments(ZoneList<Expression*>* args); 590 void GenerateArguments(ZoneList<Expression*>* args);
590 591
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 return ObjectBits::encode(object_.code()) | 1051 return ObjectBits::encode(object_.code()) |
1051 AddressBits::encode(addr_.code()) | 1052 AddressBits::encode(addr_.code()) |
1052 ScratchBits::encode(scratch_.code()); 1053 ScratchBits::encode(scratch_.code());
1053 } 1054 }
1054 }; 1055 };
1055 1056
1056 1057
1057 } } // namespace v8::internal 1058 } } // namespace v8::internal
1058 1059
1059 #endif // V8_X64_CODEGEN_X64_H_ 1060 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/version.cc ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698