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

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 23618056: Move NumberToStringStub::GenerateLookupNumberStringCache to the MacroAssembler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-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 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 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 // HeapNumber utilities 1287 // HeapNumber utilities
1288 1288
1289 void JumpIfNotHeapNumber(Register object, 1289 void JumpIfNotHeapNumber(Register object,
1290 Register heap_number_map, 1290 Register heap_number_map,
1291 Register scratch, 1291 Register scratch,
1292 Label* on_not_heap_number); 1292 Label* on_not_heap_number);
1293 1293
1294 // --------------------------------------------------------------------------- 1294 // ---------------------------------------------------------------------------
1295 // String utilities 1295 // String utilities
1296 1296
1297 // Generate code to do a lookup in the number string cache. If the number in
1298 // the register object is found in the cache the generated code falls through
1299 // with the result in the result register. The object and the result register
1300 // can be the same. If the number is not found in the cache the code jumps to
1301 // the label not_found with only the content of register object unchanged.
1302 void LookupNumberStringCache(Register object,
1303 Register result,
1304 Register scratch1,
1305 Register scratch2,
1306 Register scratch3,
1307 Label* not_found);
1308
1297 // Checks if both objects are sequential ASCII strings and jumps to label 1309 // Checks if both objects are sequential ASCII strings and jumps to label
1298 // if either is not. Assumes that neither object is a smi. 1310 // if either is not. Assumes that neither object is a smi.
1299 void JumpIfNonSmisNotBothSequentialAsciiStrings(Register object1, 1311 void JumpIfNonSmisNotBothSequentialAsciiStrings(Register object1,
1300 Register object2, 1312 Register object2,
1301 Register scratch1, 1313 Register scratch1,
1302 Register scratch2, 1314 Register scratch2,
1303 Label* failure); 1315 Label* failure);
1304 1316
1305 // Checks if both objects are sequential ASCII strings and jumps to label 1317 // Checks if both objects are sequential ASCII strings and jumps to label
1306 // if either is not. 1318 // if either is not.
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1499 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1488 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1500 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1489 #else 1501 #else
1490 #define ACCESS_MASM(masm) masm-> 1502 #define ACCESS_MASM(masm) masm->
1491 #endif 1503 #endif
1492 1504
1493 1505
1494 } } // namespace v8::internal 1506 } } // namespace v8::internal
1495 1507
1496 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1508 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698