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

Side by Side Diff: src/arm/codegen-arm.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 | « no previous file | src/arm/codegen-arm.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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 468
469 // Instantiate the function based on the shared function info. 469 // Instantiate the function based on the shared function info.
470 void InstantiateFunction(Handle<SharedFunctionInfo> function_info); 470 void InstantiateFunction(Handle<SharedFunctionInfo> function_info);
471 471
472 // Support for type checks. 472 // Support for type checks.
473 void GenerateIsSmi(ZoneList<Expression*>* args); 473 void GenerateIsSmi(ZoneList<Expression*>* args);
474 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 474 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
475 void GenerateIsArray(ZoneList<Expression*>* args); 475 void GenerateIsArray(ZoneList<Expression*>* args);
476 void GenerateIsRegExp(ZoneList<Expression*>* args); 476 void GenerateIsRegExp(ZoneList<Expression*>* args);
477 void GenerateIsObject(ZoneList<Expression*>* args); 477 void GenerateIsObject(ZoneList<Expression*>* args);
478 void GenerateIsSpecObject(ZoneList<Expression*>* args);
478 void GenerateIsFunction(ZoneList<Expression*>* args); 479 void GenerateIsFunction(ZoneList<Expression*>* args);
479 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); 480 void GenerateIsUndetectableObject(ZoneList<Expression*>* args);
480 481
481 // Support for construct call checks. 482 // Support for construct call checks.
482 void GenerateIsConstructCall(ZoneList<Expression*>* args); 483 void GenerateIsConstructCall(ZoneList<Expression*>* args);
483 484
484 // Support for arguments.length and arguments[?]. 485 // Support for arguments.length and arguments[?].
485 void GenerateArgumentsLength(ZoneList<Expression*>* args); 486 void GenerateArgumentsLength(ZoneList<Expression*>* args);
486 void GenerateArguments(ZoneList<Expression*>* args); 487 void GenerateArguments(ZoneList<Expression*>* args);
487 488
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 return ObjectBits::encode(object_.code()) | 1086 return ObjectBits::encode(object_.code()) |
1086 OffsetBits::encode(offset_.code()) | 1087 OffsetBits::encode(offset_.code()) |
1087 ScratchBits::encode(scratch_.code()); 1088 ScratchBits::encode(scratch_.code());
1088 } 1089 }
1089 }; 1090 };
1090 1091
1091 1092
1092 } } // namespace v8::internal 1093 } } // namespace v8::internal
1093 1094
1094 #endif // V8_ARM_CODEGEN_ARM_H_ 1095 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698