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

Side by Side Diff: src/assembler.cc

Issue 1387543002: Revert of [Interpreter] Add CallRuntime support to the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « src/assembler.h ('k') | src/builtins.h » ('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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1406 isolate->debug()->restarter_frame_function_pointer_address()); 1406 isolate->debug()->restarter_frame_function_pointer_address());
1407 } 1407 }
1408 1408
1409 1409
1410 ExternalReference ExternalReference::vector_store_virtual_register( 1410 ExternalReference ExternalReference::vector_store_virtual_register(
1411 Isolate* isolate) { 1411 Isolate* isolate) {
1412 return ExternalReference(isolate->vector_store_virtual_register_address()); 1412 return ExternalReference(isolate->vector_store_virtual_register_address());
1413 } 1413 }
1414 1414
1415 1415
1416 ExternalReference ExternalReference::runtime_function_table_address(
1417 Isolate* isolate) {
1418 return ExternalReference(
1419 const_cast<Runtime::Function*>(Runtime::RuntimeFunctionTable(isolate)));
1420 }
1421
1422
1423 double power_helper(double x, double y) { 1416 double power_helper(double x, double y) {
1424 int y_int = static_cast<int>(y); 1417 int y_int = static_cast<int>(y);
1425 if (y == y_int) { 1418 if (y == y_int) {
1426 return power_double_int(x, y_int); // Returns 1 if exponent is 0. 1419 return power_double_int(x, y_int); // Returns 1 if exponent is 0.
1427 } 1420 }
1428 if (y == 0.5) { 1421 if (y == 0.5) {
1429 return (std::isinf(x)) ? V8_INFINITY 1422 return (std::isinf(x)) ? V8_INFINITY
1430 : fast_sqrt(x + 0.0); // Convert -0 to +0. 1423 : fast_sqrt(x + 0.0); // Convert -0 to +0.
1431 } 1424 }
1432 if (y == -0.5) { 1425 if (y == -0.5) {
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
1853 1846
1854 1847
1855 void Assembler::DataAlign(int m) { 1848 void Assembler::DataAlign(int m) {
1856 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 1849 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
1857 while ((pc_offset() & (m - 1)) != 0) { 1850 while ((pc_offset() & (m - 1)) != 0) {
1858 db(0); 1851 db(0);
1859 } 1852 }
1860 } 1853 }
1861 } // namespace internal 1854 } // namespace internal
1862 } // namespace v8 1855 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698