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

Unified Diff: src/code-factory.cc

Issue 1693833002: Remove strong mode support from binary operations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments. Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: src/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index 4d9f4a98ec67be3ee1c0ae8d509e8717a8edea08..815cdc7fb82eb202ca8e208e69c746f600060296 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -120,9 +120,8 @@ Callable CodeFactory::KeyedStoreICInOptimizedCode(
// static
-Callable CodeFactory::CompareIC(Isolate* isolate, Token::Value op,
- Strength strength) {
- Handle<Code> code = CompareIC::GetUninitialized(isolate, op, strength);
+Callable CodeFactory::CompareIC(Isolate* isolate, Token::Value op) {
+ Handle<Code> code = CompareIC::GetUninitialized(isolate, op);
return Callable(code, CompareDescriptor(isolate));
}
@@ -135,9 +134,8 @@ Callable CodeFactory::CompareNilIC(Isolate* isolate, NilValue nil_value) {
// static
-Callable CodeFactory::BinaryOpIC(Isolate* isolate, Token::Value op,
- Strength strength) {
- BinaryOpICStub stub(isolate, op, strength);
+Callable CodeFactory::BinaryOpIC(Isolate* isolate, Token::Value op) {
+ BinaryOpICStub stub(isolate, op);
return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
}
« no previous file with comments | « src/code-factory.h ('k') | src/code-stubs.h » ('j') | src/crankshaft/hydrogen-instructions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698