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

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

Issue 2877018: Refactor type checks in v8natives.js and runtime.js.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 5 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/full-codegen.cc ('k') | src/ia32/codegen-ia32.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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 625
626 // Instantiate the function based on the shared function info. 626 // Instantiate the function based on the shared function info.
627 Result InstantiateFunction(Handle<SharedFunctionInfo> function_info); 627 Result InstantiateFunction(Handle<SharedFunctionInfo> function_info);
628 628
629 // Support for type checks. 629 // Support for type checks.
630 void GenerateIsSmi(ZoneList<Expression*>* args); 630 void GenerateIsSmi(ZoneList<Expression*>* args);
631 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 631 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
632 void GenerateIsArray(ZoneList<Expression*>* args); 632 void GenerateIsArray(ZoneList<Expression*>* args);
633 void GenerateIsRegExp(ZoneList<Expression*>* args); 633 void GenerateIsRegExp(ZoneList<Expression*>* args);
634 void GenerateIsObject(ZoneList<Expression*>* args); 634 void GenerateIsObject(ZoneList<Expression*>* args);
635 void GenerateIsSpecObject(ZoneList<Expression*>* args);
635 void GenerateIsFunction(ZoneList<Expression*>* args); 636 void GenerateIsFunction(ZoneList<Expression*>* args);
636 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); 637 void GenerateIsUndetectableObject(ZoneList<Expression*>* args);
637 638
638 // Support for construct call checks. 639 // Support for construct call checks.
639 void GenerateIsConstructCall(ZoneList<Expression*>* args); 640 void GenerateIsConstructCall(ZoneList<Expression*>* args);
640 641
641 // Support for arguments.length and arguments[?]. 642 // Support for arguments.length and arguments[?].
642 void GenerateArgumentsLength(ZoneList<Expression*>* args); 643 void GenerateArgumentsLength(ZoneList<Expression*>* args);
643 void GenerateArguments(ZoneList<Expression*>* args); 644 void GenerateArguments(ZoneList<Expression*>* args);
644 645
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 void Print() { 1079 void Print() {
1079 PrintF("NumberToStringStub\n"); 1080 PrintF("NumberToStringStub\n");
1080 } 1081 }
1081 #endif 1082 #endif
1082 }; 1083 };
1083 1084
1084 1085
1085 } } // namespace v8::internal 1086 } } // namespace v8::internal
1086 1087
1087 #endif // V8_IA32_CODEGEN_IA32_H_ 1088 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698