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

Side by Side Diff: src/builtins/builtins-conversion.cc

Issue 2744173002: [csa] Remove context inputs from StrictEqual, SameValue and Typeof. (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | src/builtins/builtins-number.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 #include "src/builtins/builtins-utils.h" 5 #include "src/builtins/builtins-utils.h"
6 #include "src/builtins/builtins.h" 6 #include "src/builtins/builtins.h"
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/code-stub-assembler.h" 8 #include "src/code-stub-assembler.h"
9 #include "src/objects-inl.h" 9 #include "src/objects-inl.h"
10 10
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 // Deprecated ES5 [[Class]] internal property (used to implement %_ClassOf). 400 // Deprecated ES5 [[Class]] internal property (used to implement %_ClassOf).
401 TF_BUILTIN(ClassOf, CodeStubAssembler) { 401 TF_BUILTIN(ClassOf, CodeStubAssembler) {
402 Node* object = Parameter(TypeofDescriptor::kObject); 402 Node* object = Parameter(TypeofDescriptor::kObject);
403 403
404 Return(ClassOf(object)); 404 Return(ClassOf(object));
405 } 405 }
406 406
407 // ES6 section 12.5.5 typeof operator 407 // ES6 section 12.5.5 typeof operator
408 TF_BUILTIN(Typeof, CodeStubAssembler) { 408 TF_BUILTIN(Typeof, CodeStubAssembler) {
409 Node* object = Parameter(TypeofDescriptor::kObject); 409 Node* object = Parameter(TypeofDescriptor::kObject);
410 Node* context = Parameter(TypeofDescriptor::kContext);
411 410
412 Return(Typeof(object, context)); 411 Return(Typeof(object));
413 } 412 }
414 413
415 } // namespace internal 414 } // namespace internal
416 } // namespace v8 415 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/builtins/builtins-number.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698