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

Side by Side Diff: src/interface-descriptors.cc

Issue 2369033003: [interpreter] Fix the interface descriptor for interpreter dispatch. (Closed)
Patch Set: Update. Created 4 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 | « no previous file | no next file » | 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 #include "src/interface-descriptors.h" 5 #include "src/interface-descriptors.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 9
10 10
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 MachineType machine_types[] = { 410 MachineType machine_types[] = {
411 MachineType::AnyTagged(), MachineType::AnyTagged(), 411 MachineType::AnyTagged(), MachineType::AnyTagged(),
412 MachineType::AnyTagged(), MachineType::Pointer()}; 412 MachineType::AnyTagged(), MachineType::Pointer()};
413 data->InitializePlatformIndependent(arraysize(machine_types), 0, 413 data->InitializePlatformIndependent(arraysize(machine_types), 0,
414 machine_types); 414 machine_types);
415 } 415 }
416 416
417 void InterpreterDispatchDescriptor::InitializePlatformIndependent( 417 void InterpreterDispatchDescriptor::InitializePlatformIndependent(
418 CallInterfaceDescriptorData* data) { 418 CallInterfaceDescriptorData* data) {
419 // kAccumulator, kBytecodeOffset, kBytecodeArray, kDispatchTable 419 // kAccumulator, kBytecodeOffset, kBytecodeArray, kDispatchTable
420 MachineType machine_types[] = {MachineType::AnyTagged(), MachineType::Int32(), 420 MachineType machine_types[] = {
421 MachineType::AnyTagged(), 421 MachineType::AnyTagged(), MachineType::IntPtr(), MachineType::AnyTagged(),
422 MachineType::AnyTagged()}; 422 MachineType::AnyTagged()};
423 data->InitializePlatformIndependent(arraysize(machine_types), 0, 423 data->InitializePlatformIndependent(arraysize(machine_types), 0,
424 machine_types); 424 machine_types);
425 } 425 }
426 426
427 } // namespace internal 427 } // namespace internal
428 } // namespace v8 428 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698