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

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

Issue 1053143005: Collect type feedback on result of Math.[round|ceil|floor] (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: MIPS port Created 5 years, 7 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/mips64/code-stubs-mips64.cc ('k') | src/mips64/macro-assembler-mips64.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips64/assembler-mips64.h" 10 #include "src/mips64/assembler-mips64.h"
(...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 InvokeFlag flag, 1349 InvokeFlag flag,
1350 const CallWrapper& call_wrapper = NullCallWrapper()); 1350 const CallWrapper& call_wrapper = NullCallWrapper());
1351 1351
1352 // Store the code object for the given builtin in the target register and 1352 // Store the code object for the given builtin in the target register and
1353 // setup the function in a1. 1353 // setup the function in a1.
1354 void GetBuiltinEntry(Register target, Builtins::JavaScript id); 1354 void GetBuiltinEntry(Register target, Builtins::JavaScript id);
1355 1355
1356 // Store the function for the given builtin in the target register. 1356 // Store the function for the given builtin in the target register.
1357 void GetBuiltinFunction(Register target, Builtins::JavaScript id); 1357 void GetBuiltinFunction(Register target, Builtins::JavaScript id);
1358 1358
1359 void BranchIfNotBuiltin(Register function, Register temp,
1360 BuiltinFunctionId id, Label* miss);
1361
1359 struct Unresolved { 1362 struct Unresolved {
1360 int pc; 1363 int pc;
1361 uint32_t flags; // See Bootstrapper::FixupFlags decoders/encoders. 1364 uint32_t flags; // See Bootstrapper::FixupFlags decoders/encoders.
1362 const char* name; 1365 const char* name;
1363 }; 1366 };
1364 1367
1365 Handle<Object> CodeObject() { 1368 Handle<Object> CodeObject() {
1366 DCHECK(!code_object_.is_null()); 1369 DCHECK(!code_object_.is_null());
1367 return code_object_; 1370 return code_object_;
1368 } 1371 }
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1804 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1807 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1805 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1808 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1806 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1809 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1807 #else 1810 #else
1808 #define ACCESS_MASM(masm) masm-> 1811 #define ACCESS_MASM(masm) masm->
1809 #endif 1812 #endif
1810 1813
1811 } } // namespace v8::internal 1814 } } // namespace v8::internal
1812 1815
1813 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1816 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698