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

Side by Side Diff: src/mips/macro-assembler-mips.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/mips/code-stubs-mips.cc ('k') | src/mips/macro-assembler-mips.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/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 InvokeFlag flag, 1316 InvokeFlag flag,
1317 const CallWrapper& call_wrapper = NullCallWrapper()); 1317 const CallWrapper& call_wrapper = NullCallWrapper());
1318 1318
1319 // Store the code object for the given builtin in the target register and 1319 // Store the code object for the given builtin in the target register and
1320 // setup the function in a1. 1320 // setup the function in a1.
1321 void GetBuiltinEntry(Register target, Builtins::JavaScript id); 1321 void GetBuiltinEntry(Register target, Builtins::JavaScript id);
1322 1322
1323 // Store the function for the given builtin in the target register. 1323 // Store the function for the given builtin in the target register.
1324 void GetBuiltinFunction(Register target, Builtins::JavaScript id); 1324 void GetBuiltinFunction(Register target, Builtins::JavaScript id);
1325 1325
1326 void BranchIfNotBuiltin(Register function, Register temp,
1327 BuiltinFunctionId id, Label* miss);
1328
1326 struct Unresolved { 1329 struct Unresolved {
1327 int pc; 1330 int pc;
1328 uint32_t flags; // See Bootstrapper::FixupFlags decoders/encoders. 1331 uint32_t flags; // See Bootstrapper::FixupFlags decoders/encoders.
1329 const char* name; 1332 const char* name;
1330 }; 1333 };
1331 1334
1332 Handle<Object> CodeObject() { 1335 Handle<Object> CodeObject() {
1333 DCHECK(!code_object_.is_null()); 1336 DCHECK(!code_object_.is_null());
1334 return code_object_; 1337 return code_object_;
1335 } 1338 }
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
1735 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1738 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1736 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1739 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1737 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1740 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1738 #else 1741 #else
1739 #define ACCESS_MASM(masm) masm-> 1742 #define ACCESS_MASM(masm) masm->
1740 #endif 1743 #endif
1741 1744
1742 } } // namespace v8::internal 1745 } } // namespace v8::internal
1743 1746
1744 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1747 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698